libc and gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux