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: kernel/glibc headers/gcc bootstrap circular dependencies redux




Mike Frysinger wrote:

to kind of bring back an older thread, i was talking to Paul (of superh fame) earlier today and i couldnt understand how he wasnt having trouble with bootstrapping a sh toolchain with gcc-3.4.3 like i was

turns out it's because he's always used crosstool while i'm doing it by hand :) so i spent a few minutes reading crosstool.sh to figure out what was going on and i think i know now why Dan and i were having such issues communicating in the kernel-requires-gcc-but-gcc-requires-kernel thread ...

crosstool works around the fact that gcc's --without-headers is somewhat broken in gcc-3+ while i try to fix gcc to work with that feature ... so crosstool does:
setup kernel headers (using sanitized versions)
setup binutils
setup a bunch of basic glibc headers
setup gcc, glibc, etc...


while i do:
setup binutils
patch gcc to work with the --without-headers


Will you propogate your patch to upstream gcc? is gcc upstream accepting the inhibit_libc patch?
has the glibc been tested when built with your approarch.?


setup gcc
setup kernel headers (using the kernel source)
setup glibc, etc...

hope that clears up some things ;)
-mike

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





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