Liste des Groupes | Revenir à cl c |
Bart <bc@freeuk.com> writes:And of course there are different standard C libraries available, as well as different C compilers, and you can mix and match - gcc with musl, clang with glibc, icc with newlib, etc. There has to be a certain degree of cooperation and compatibility for a compiler and a library to work together, but they can be (and usually are) separate projects from separate groups.On 24/11/2024 21:45, Keith Thompson wrote:Actually, no. The OS provides the dynamic linker and some os-specific>A more useful installation would of course need more standard headers,>
an assembler, linker, and whatever .a files are needed to provide the
standard library.
Sure, those are all part of a C implementation, though they're not part
of gcc.
>
This seems to be a thing with Linux, where a big chunk of a C
implementation is provided by the OS.
header files. Pretty much everything else comes from various
third-party packages.
>None of those come from the OS. They come from separate packages
That is, standard headers, libraries, possibly even 'as' and 'ld'
utilities.
produced by third parties (some, like gcc, binutils, etc come from
the FSF, other libraries come from other sources).
On Windows, C compilers tend to be self-contained (except forLeaving aside the fact that Windows has always been a toy
environment, all the tools you complain about were developed
on, and primarily for UNIX and derivitives. Not windows.
Les messages affichés proviennent d'usenet.