Article View: comp.os.linux.misc
Article #1964Re: GCC vs. LLVM
From: Keith Thompson
Date: Mon, 02 Nov 2026 04:25
Date: Mon, 02 Nov 2026 04:25
36 lines
2852 bytes
2852 bytes
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.)
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.
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.
--
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:
<11c93bv$2ibdp$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>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 20:25:35 -0800 Organization: None to speak of Lines: 36 Message-ID: <11c93bv$2ibdp$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> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Mon, 02 Nov 2026 04:25:35 +0000 (UTC) Injection-Info: kst.eternal-september.org; logging-data="2698681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wrs857ZmpLz2cdt/L4dsI"; posting-host="b2b9691d5f86313d524e66216e8e116e" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:EjopEOGfO1P/JgZLBYmO5QCP3Ew= sha256:TvFHgW4D5yR3mi2JpVUSM4ftq5O6U1yvWW9g15w1r/Y= sha1:Eau6o+iqmyp5kVw0ndET7tauLtU= sha256:iHoFTGynTL51YYF7qx+FslF2H5W3+DMG9ntUvr9olAk=