This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with compiling for sh3eb


On Sat, 2 Apr 2005, Arno Schuring wrote:

> > > Right.  The sanitized headers should somehow replace the Linux
> > > kernel source altogether.  I haven't worked out how, but it
> > > ought to be an easy-ish swap.

> > well, since it's been a while since i've messed with crosstool,
> > i'll let someone else point me in the direction of how to do this.
> > at the moment, i've got all the parts set up, ready to go.
> >
> >  gcc-4.1-20050327
> >  glibc-2.3.4
> >  binutils-2.15.96
> >  linux-2.6.11.6
>
> The linux-libc-headers package gives you a subdirectory tree
> containing (among others):
>
> include/linux
> include/asm-$ARCH
> include/scsi
>
> You should copy at least the linux/ subdir into where gcc expects to
> find its headers (preferably $SYS-ROOT/usr/include) and copy
> asm-$ARCH to include/asm. So far, I have never needed the other
> subdirectories.

oh, i didn't realize that.  so, from the perspective of a config file,
i can just install those sanitized headers relative to where they'd
normally be found relative to ${GCC_DIR} and things should work?
cool.  i'll give that a shot this morning.

*then* i'll go back and figure out what means "sanitized". :-)

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]