Re: -Dinhibit_libc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Kevin Yohe" <kevin@xxxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux