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.
Re: building bleeding-edge sh3eb toolchain with sanitized headers
- From: "Arno Schuring" <aelschuring at hotmail dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>,"crossgcc list" <crossgcc at sources dot redhat dot com>
- Date: Sat, 9 Apr 2005 23:55:02 +0200
- Subject: Re: building bleeding-edge sh3eb toolchain with sanitized headers
- References: <Pine.LNX.4.61.0504091715330.6649@localhost.localdomain>
[...]
- install sanitized headers in build directory where kernel source
would normally go, and:
symlink "asm" -> "asm-sh"
copy in "asm-sh/ubc.h" from 2.6.11.2 regular source tree
symlink "cpu" -> "cpu-sh3"
The "copy-in" step from regular source tree is a definite ouch. Do you have
any clue as to why it is missing from the linux-libc headers? You might want
to file a bug report against linux-libc-headers for it, I'm not sure how
much attention sh3 gets...
I posted a patch for crosstool a few days ago which effectively does the
steps you described above, do you think it is worth it if we would extend
that patch to create the cpu->cpu-sh{2,3,4} link too? I'm a little hesitant
myself, because we would be redoing (part of) the kernel's make prepare, but
if that is the only way to get crosstool build a toolchain with sanitized
headers for sh3...
Maybe other arches need things like this as well?
Arno
np: The Police - Don't Stand So Close To Me
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com