libc and gcc
Dima Sorkin
dima.sorkin@gmail.com
Mon Apr 2 11:02:00 GMT 2007
Hi.
A bunch of questions, on the same theme that I don't
understand:
Yesterday I have built and installed gcc 4.1.2 on my comp,
on some aside path (not in /usr/local, not in /usr).
However I think I need also new libc ( I have some problems,
which cannot be reproduced on other computers,
so I decided to try to recompile libc too).
I want to do it with the minimum violence,
but I also want the newly compiled gcc to link against
it as default (both the gcc itself, as application,
and the executables that gcc/g++/gfortran produce).
If I download and compile gnu libc,
and define the $LD_LIBRARY_PATH to point
to the location of the new libc.so, will it suffice ?
If not, should I recompile gcc ? All parts of it ?
How did I have to compile gcc from scratch such that it would build
a new libc simultaneously ?
Additional question:
What is the difference between libgcc and libc ?
Thanks and regards,
Dima.
More information about the Gcc-help
mailing list