Article View: comp.os.linux.misc
Article #1967Re: GCC vs. LLVM
From: Keith Thompson
Date: Mon, 02 Nov 2026 07:06
Date: Mon, 02 Nov 2026 07:06
90 lines
5022 bytes
5022 bytes
c186282 <c186282@nnada.net> writes:
> On 11/1/26 23:25, Keith Thompson wrote:
>> c186282 <c186282@nnada.net> writes:
>>> On 11/1/26 05:16, Keith Thompson wrote:
>>>> c186282 <c186282@nnada.net> writes:
>>>> [...]
>>>>> Also install 'TCC' - which
>>>>> is suprisingly good and creates more compact
>>>>> code more quickly - but don't expect the more
>>>>> 'esoteric' libraries.
>>>> Why would using tcc not give you access to "esoteric" libraries?
>>>
>>> They don't come "in the package". You can
>>> always tweak and add-on later of course.
>>> Anyway, most tools center on GCC or Clang
>>> these days. Still use TCC sometimes if I'm
>>> writing a short utility however.
>> (Why do you indent your original text in your posts? I find it
>> distracting.)
>
> That's "MY STYLE". Live with it. Keeps it more
> plain what others say, what I say. Also like
> 'random' capitalization and odd punctuation
> to kind-of emulate 'natural speaking'. You do
> it your way, I'll do it mine, and we'll all
> get there together.
Of course I'll live with it. I might do so by ignoring you.
You can indicate that you posted something by identifying it
in the headers. If you think you're important enough to use a
different layout to tell us it's you, you're mistaken.
>> They typically don't come "in the package" with gcc either.
>> For Windows, gcc is typically installed via a package that includes
>> the compiler along with a number of libraries. In that context,
>> a tcc-based installer might not include the same libraries as a
>> gcc-based instaler.
>
> Correct. As per the 'tiny' bit, it's "cut down".
> Has MOST of what you'll need, good enough for a
> lot of stuff, but if you're doing "cutting edge"
> then go with the bigger compilers and their libs.
You seem to be ignoring the fact that compilers (gcc, clang, tcc)
are compilers, and do not include most libraries.
Perhaps you have an example of a library that you can use with gcc
and clang but can't use with tcc.
>> For Linux-based and other Unix-like systems, it's more common
>> for libraries to be installed separately. For example, on my
>> Ubuntu system the "gcc" command is provided by the "gcc" package,
>> but the GNU MP bignum library is provided by the libgmp10 and
>> libgmp-dev packages. If I have a C program that depends on GNU
>> MP, I can build it with gcc, clang, or tcc.
>
> Yea, it all gets bigger and deeper deeper deeper ...
>
> Does it HAVE to be thus ???
I have no idea what you mean. I've just told you that a library
can be used with any C compiler I like, and you seem to be saying
that's too complicated.
> Just one of the reasons I mostly use Python
> these days ... "just works" ... though you
> still have to install libs. A "Python EVERYTHING"
> meta-package would be nice.
>
> Ah, was complaining about a re-install of a
> dedicated unit/app the other day, kept crashing
> after x-minutes. TWO things - it pings somewhere
> every so often to make sure it's still a good
> connection and ends the pgm if there's no
> response after x tries. The ping address is
> in a config file. First, had the wrong address
> in the config file. Second, it's actually
> FPING and I didn't install it :-)
>
> Details details ........
But not enough details (like the name of the app) for anyone to
help you.
[...]
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Technical Details
Message-ID:
<11c9cqh$2k6jt$1@kst.eternal-september.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mailReferences:
<18e37e973e22a7a6$1$3179723$802601b3@news.usenetexpress.com> <8733tmaqnk.fsf@atr2.ath.cx> <11c5l8a$1f300$1@dont-email.me> <NrWcnStRk_8FYHv3nZ2dnZfqnPWdnZ2d@giganews.com> <11c73ip$1s4us$1@kst.eternal-september.org> <2oWdnWWut6BKWXr3nZ2dnZfqn_adnZ2d@giganews.com> <11c93bv$2ibdp$1@kst.eternal-september.org> <DbqcnUXBFt-yrnX3nZ2dnZfqn_qdnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson <Keith.S.Thompson+u@gmail.com> Newsgroups: comp.os.linux.misc Subject: Re: GCC vs. LLVM Date: Sun, 01 Nov 2026 23:06:57 -0800 Organization: None to speak of Lines: 90 Message-ID: <11c9cqh$2k6jt$1@kst.eternal-september.org> References: <18e37e973e22a7a6$1$3179723$802601b3@news.usenetexpress.com> <8733tmaqnk.fsf@atr2.ath.cx> <11c5l8a$1f300$1@dont-email.me> <NrWcnStRk_8FYHv3nZ2dnZfqnPWdnZ2d@giganews.com> <11c73ip$1s4us$1@kst.eternal-september.org> <2oWdnWWut6BKWXr3nZ2dnZfqn_adnZ2d@giganews.com> <11c93bv$2ibdp$1@kst.eternal-september.org> <DbqcnUXBFt-yrnX3nZ2dnZfqn_qdnZ2d@giganews.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Mon, 02 Nov 2026 07:06:58 +0000 (UTC) Injection-Info: kst.eternal-september.org; logging-data="2759293"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ki7I91T/YDnP/nBEt8BkK"; posting-host="b2b9691d5f86313d524e66216e8e116e" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:C2I9e+RyUKNhSIG83UbNx7nn0zc= sha256:H2JJTMqOsELEnCm+xjnbC0din5M50kZAOVdSyaJKy90= sha1:WH185q0d7Rd1A5B+HNpFoNj0SGw= sha256:Si40BI5YNBwwvKFNRHQucpR3Ut5A9GhGM8WgT1+kmIc=