This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: when is libgcc build
- From: Ian Lance Taylor <iant at google dot com>
- To: ÐÐÐÑÐ ÐÐÐÐÑÐÐÐ <dilyan dot palauzov at aegee dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 29 Jan 2011 10:34:50 -0800
- Subject: Re: when is libgcc build
- References: <4D4428DD.3050504@aegee.org>
ÐÐÐÑÐ ÐÐÐÐÑÐÐÐ <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