Re: Is libc built by gcc?

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

 



>>> Is libc built by gcc?
>>
>> Maybe you could elaborate as to what you're *actually* trying to do.
>>
>> By process of deduction, if libc is written in C then it has to be
>> compiled by *some* C compiler.  On linux systems, the libc is the GNU C
>> library (glibc), and glibc is written in C, and gcc is the C compiler,
>> thus libc is compiled by gcc.
>>
>> But that is just one specific instance, it is not a general rule.  What
>> you seem to be asking is whether libc is part of gcc, and the answer to
>> that is no, it's completely separate.  gcc does not contain a C library
>> because gcc is used with too many various platforms to make this
>> maintainable.

But suppose I want to rebuild both GCC and GLIBC ( on Linux,
either locally as user or globally as root ):
I've read GLIBC docs, and it _seems_ like "mission impossible",
to replace existing LIBC in the system - too many things (like ld)
depend on it.

Am I mistaken?  :)

Thanks,
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