Deutsch   English   Français   Italiano  
<v61789$1mme1$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Baby X is bor nagain
Date: Tue, 2 Jul 2024 16:44:10 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <v61789$1mme1$1@dont-email.me>
References: <v494f9$von8$1@dont-email.me> <v5c86d$11ac7$1@dont-email.me>
 <JEheO.108086$ED9b.74955@fx11.iad> <v5cblg$11q0j$1@dont-email.me>
 <gEieO.108089$ED9b.25598@fx11.iad> <20240625113616.000075e0@yahoo.com>
 <mUzeO.141609$Cqra.55051@fx10.iad> <v5elql$1jmii$1@dont-email.me>
 <m3BeO.24907$Gurd.16179@fx34.iad> <v5empd$1jndv$2@dont-email.me>
 <v5eph4$1k6a9$1@dont-email.me> <87ed8jnbmf.fsf@bsb.me.uk>
 <v5jhls$2m7np$1@dont-email.me> <v5jm32$2nqvp$1@dont-email.me>
 <v5k3v2$2qllm$1@dont-email.me> <v5kfst$2svt3$1@dont-email.me>
 <v5kmlm$2u918$1@dont-email.me> <20240627201830.854@kylheku.com>
 <v5m2nl$39qob$3@dont-email.me> <87msn1l3e5.fsf@bsb.me.uk>
 <v5udks$13tjn$1@dont-email.me> <87bk3flty5.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 02 Jul 2024 17:44:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f5eb376a7ecc516b435e939f34e6f93c";
	logging-data="1792449"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/pOytAfd3g9Zw6qRzr+VsO"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:INtjeM42WzrtKZKtnmIfey94nrI=
Content-Language: en-GB
In-Reply-To: <87bk3flty5.fsf@bsb.me.uk>
Bytes: 3167

On 02/07/2024 16:00, Ben Bacarisse wrote:
> bart <bc@freeuk.com> writes:
> 
>> On 01/07/2024 13:09, Ben Bacarisse wrote:
>>> bart <bc@freeuk.com> writes:
>>>
>>>> Using products like tcc doesn't mean never using gcc. (Especially on Linux
>>>> where you will have it installed anyway.)
>>> The parenthetical remark is wrong.
>>
>> You mean it is possible for a Linux installation to not have gcc
>> preinstalled?
> 
> I mean that saying "on Linux ... you will have it installed anyway" is
> wrong.
> 
>> Sure, although in the dozen or two versions I've come across, it
>> always has been.
> 
> I'm not sure what you mean by a "version".  Every version (in the sense
> of release number) of a source-only Linux distribution will have gcc
> installed, but is that all you mean?  Source-only distributions are rare
> and not widely used.
> 

No I mean binary distributions (unless the install process silently 
compiled from source; I've no idea).

That fact is that if you take any ordinary Linux user, not even a 
developer, then the chances are high that gcc will be available. Do the 
same with Windows, and the chances are low.

On one project of mine that ran on Linux and had to invoke a C compiler, 
the default one it tried was gcc. I would have preferred tcc, but that 
was less likely to be installed. So they needed to use a '-tcc' option 
when it was.

If I did it now, I'd try tcc first anyway, and if that failed, to fall 
back to gcc. Perhaps with a message suggesting they get tcc, as a hint.