-Dinhibit_libc
Ian Lance Taylor
iant@google.com
Tue Jul 17 00:04:00 GMT 2007
"Kevin Yohe" <kevin@ssc-nh.com> writes:
> I am trying to configure and build a cross-compiler for a powerpc-750-elf.
> I use the following parameters to configure it;
>
> ../gcc-4.1.0/configure --target=powerpc-750-elf --prefix=C:/gnu/usr
> --exec-prefix=C:/gnu/usr/powerpc --with-gnu-as --with-gnu-ld
> --enable-languages=c,c++ --with-newlib -v 2>&1 | tee config.out
>
> The compiler works fine, however libc.a never gets generated. I noticed the
> -Dinhibit_libc flag during the build. I am wondering how it got there, and
> what parameters I need to use to generate libc.a? I thought that all I
> needed was --with-newlib.
gcc does not include a C library. You can build it with newlib, but
you also need to download newlib and put it in your source tree.
Ian
More information about the Gcc-help
mailing list