On Tue, 2012-02-28 at 10:39 -0500, Jeremy Huntwork wrote: > On 2/28/12 9:11 AM, Jeremy Huntwork wrote: > > On 2/28/12 2:10 AM, Greg Schafer wrote: > >> IMHO > >> sysroot is fine for real cross compilation > >> sysroot not fine for hybrid cross/native scenarios a'la current LFS > > > > When you discussed the situation requiring the startfiles revert patch > > with upstream they reviewed DIY's build process. Their answer, several > > times, was 'use sysroot': http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532 > > BTW, when you attempted to use the sysroot suggestions and hit the > errors about missing headers here: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532#c7 those are the same > types of errors one sees when not using --with-newlib, because > inhibit_libc wasn't defined when building libgcc2.
It's a shame that configure switch is so-called. It sounds from your description as if it really should be called '--without-libc' or something similar, as it doesn't actually try to determine/use newlib. Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
