Sujet : Re: else ladders practice
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 24. Nov 2024, 21:01:43
Autres entêtes
Organisation : None to speak of
Message-ID : <87wmgsmme0.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Gnus/5.13 (Gnus v5.13)
Bart <
bc@freeuk.com> writes:
[...]
Most of a gcc installation is hundreds of header and archive (.a)
files for various libraries. There might be 32-bit and 64-bit
versions. I understand that. But it also makes it hard to isolate the
core compiler.
[...]
That doesn't agree with my observations.
Of course most of the headers and libraries are not part of gcc itself.
As usual, you refer to the entire implementation as "gcc".
I've built gcc 14.2.0 and glibc 2.40 from source on Ubuntu 22.04.5,
installing each into a new directory.
The gcc installation is about 5.6 GB, reduced to about 1.9 GB if I strip
the executables.
The glibc installation (libraries and headers) is about 199 MB, a small
fraction of the size of the gcc intallation.
Of course there are other libraries that can be used with gcc, and they
could take a lot of space -- but they're not part of gcc.
These sizes might differ on Windows.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */