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




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.


along with what looks like a reasonable kernel config file. i just need to get past that headers part.

You won't need the kernel source package (and so, no config) if you use the sanitized headers. (Well, you won't need it to build a toolchain, that is).



Arno


np: Dream Theater - The Great Debate

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