This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and glibc
- From: Ian Lance Taylor <iant at google dot com>
- To: "Bill Cunningham" <billcun at suddenlink dot net>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 01 Jun 2011 17:13:57 -0700
- Subject: Re: gcc and glibc
- References: <000301cc2090$77408bc0$a9d3daad@YOUREDC1953E71>
"Bill Cunningham" <billcun@suddenlink.net> writes:
> I want to compile a new gcc and glibc. Glibc and how to switch it
> over to be the main library is complicated enough to me and OT so I
> will not mention that.
>
> As far as gcc goes I want to upgrade from the 3.x.x series to
> 4.6.0. How can I create a working compile that uses the least amount
> of glibc as possible. Maybe it is a cross compiler I am looking for. I
> want to upgrade my whole system. The reason I am not just getting a
> newer version of linux is that the newer flavors are not to my
> liking. Any suggestions?
I suppose one way you could build a gcc that uses very little from glibc
would be to first build a cross-compiler which uses newlib, and then use
that cross-compiler to build gcc. I'm sure you would run into a number
of hurdles, but I expect they could be overcome with effort.
More generally: http://www.linuxfromscratch.org/
Ian