compiling gnu libc (2.2.4)

Ian Lance Taylor iant@google.com
Mon Dec 13 21:25:00 GMT 2010


kevin diggs <diggskevin38@gmail.com> writes:

> I would like to recompile the libc (gnu libc 2.2.4) for an old Redhat
> 7.1 installation. The stock compiler for 7.1 is 2.96. I have
> successfully built 3.4.6 and would like to use that. My concern is
> finding libgcc and friends. I did an ldd on /lib/libc-2.2.4.so and it
> only showed ld-linux.so.2. Does this mean that I might not need to
> worry about these internal compiler libraries (i.e. what if I decide
> to delete this compiler version)?

You probably do not need to worry about those internal compiler
libraries when it comes to building libc itself on x86.  You may have
other trouble building glibc with a much newer gcc, but I wouldn't worry
about that specific issue.

Ian



More information about the Gcc-help mailing list