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:

>
> > >
> > > 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


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