🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #1966

Re: GCC vs. LLVM

#1966
From: c186282
Date: Mon, 02 Nov 2026 06:52
71 lines
4473 bytes
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.

> 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.

> 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 ???

   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 ........

   STILL not sure why @reboot didn't work OR a
   perfectly good systemd start-up. Last PiOS
   version I used those DID work.
Technical Details
Message-ID: <DbqcnUXBFt-yrnX3nZ2dnZfqn_qdnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-2.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-2.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 02 Nov 2026 06:52:31 +0000
Date: Mon, 2 Nov 2026 01:52:12 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: GCC vs. LLVM
Newsgroups: comp.os.linux.misc
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>
Content-Language: en-US
From: c186282 <c186282@nnada.net>
Organization: wokiesux
In-Reply-To: <11c93bv$2ibdp$1@kst.eternal-september.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <DbqcnUXBFt-yrnX3nZ2dnZfqn_qdnZ2d@giganews.com>
Lines: 71
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-yRIPeSxCQy4Q1lsDxSXBv068ETkQ4wYR3uMp9OxOlEcfHkS28aGa/SBfYn7g0mzPWcI50TZXTVeAL3o!QifNY2wzmTVQ79Gp1JtqNr4Lt4Yuuh5SUFsmUrsmiDxwO3vS0S+HlIusOhgECaE7pAFJOLIk+l0=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40