[uClibc] cc and libc linkage

aeriksson at fastmail.fm aeriksson at fastmail.fm
Thu Feb 12 12:04:58 UTC 2004


Hi all,

I've been lurking on this list quite some time now, I can only applaud
you for the great work you're doing (my next project will be uclibc
based).

Not having the in-depth knowledge which one probably should have about
these thing, I'm wondering about the linkage which there (apparently)
is between the c-compiler and the c-library. Is there anything
fundamental about a compiler for a language which makes it necessary
for it to know of the language's common library? From 10000 meters it
seems that the compiler converts high-level code to asm, and the
language lib maps language calls into syscalls. It seems they're two
different separable things... Perhaps glued together by a linker...

Anyone in the know care to share the wisdom around this? Is this only
a gcc-ism?

BR,
/Anders





More information about the uClibc mailing list