This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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: -Dinhibit_libc


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]