problem with compiling for sh3eb
Robert P. J. Day
rpjday@mindspring.com
Sat Apr 2 13:04:00 GMT 2005
On Sat, 2 Apr 2005, Arno Schuring wrote:
>
> > >
> > > 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.
>
> Uhm... just to make sure: I did write "where gcc expects to find the
> target's system headers", didn't I? They're not meant to replace
> gcc's internal headers. They should be placed in the same location
> where glibc places its include/ directory (and, for that matter,
> where crosstool copies the kernel headers).
sorry, it's early, and there are still parts of crosstool i'm fuzzy
on.
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
More information about the crossgcc
mailing list