when is libgcc build

Ian Lance Taylor iant@google.com
Sat Jan 29 18:40:00 GMT 2011


Дилян Палаузов <dilyan.palauzov@aegee.org> writes:

> Could you please help me how to build libgcc in gcc without dependency
> on libc, or how to build libc for x86_64 with gcc, that was not built
> with --enable-targets=all ?

The problem is the shared libgcc.  You will need to start with a static
libgcc, and use that to build glibc, and then build gcc again to get a
shared libgcc.  To get a static libgcc, configure gcc with
--disable-shared.

Ian



More information about the Gcc-help mailing list