why crosstool use --with-newlib to build gcc-core

Khem Raj kraj@mvista.com
Thu Aug 17 05:15:00 GMT 2006



Bridge Wu said the following on 8/16/2006 8:22 PM:
> Hello,
>
> I noticed crosstool-0.42 use --with-newlib to build gcc-core which
> will be used to build glibc. I wonder why --with-newlib is used since
> we are building glibc, not newlib. Who can interpret the  exact
> meaning of --with-newlib?
>
IIRC it is needed for cross compiling GCC upto GCC 3.3.x. It is needed 
because --without-headers did not work correctly. Setting --with-newlib 
was a workaround for that GCC bug.
The bug is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8180

HTH

-- 
Khem Raj <kraj@mvista.com>
MontaVista Software Inc.


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list