Sujet : Re: Baby X is bor nagain
De : antispam (at) *nospam* fricas.org (Waldek Hebisch)
Groupes : comp.lang.cDate : 02. Jan 2025, 23:22:04
Autres entêtes
Organisation : To protect and to server
Message-ID : <vl73ia$lds$1@paganini.bofh.team>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
Scott Lurndal <
scott@slp53.sl.home> wrote:
DFS <guhnoo-basher@linux.advocaca> writes:
On 7/4/2024 4:24 AM, David Brown wrote:
On 03/07/2024 15:41, DFS wrote:
On 7/3/2024 5:36 AM, bart wrote:
That's enough of a track record for even one person that one can say,
Linux pretty much always comes with gcc. And if it doesn't, it's easy
to install as you say.
>
>
distrowatch.com shows most distros come with gcc preinstalled.
>
No, it does not.
>
Yes, it does.
David is correct. I just installed Fedora41 and there were no
development tools (compilers, devel libraries, binutils, gdb,
make) installed by default (preinstalled).
The end-user is required to install them manually.
On Debian "small" install includes cpp, that is C preprocessor.
Preprocessor is actually implemented by 'cc1' that is core
C compiler. So one can compile C programs and generate assembly.
But most headers are missing and there is no way to create an
executable (and one needs to invoke 'cc1' by path to gcc-internal
directory since 'gcc' executable is missing too). Kind of silly,
as 'cc1' is 33 MB and installing something like extra 3 MB would
give a working C compiler.
BTW: I wrote "small" as that was minimal thing that installer
offered and which included GUI and sshd. This installed
several packages marked "optional" resulting in 1.3 GB disc
use.
BTW2: That probably could be good use case for 'tcc', it provides
preprocessor and is much smaller than 'gcc'.
-- Waldek Hebisch