Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Baby X is bor nagain
Date: Thu, 27 Jun 2024 18:21:37 -0700
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <86tthddfq6.fsf@linuxsc.com>
References: <20240625113616.000075e0@yahoo.com> <87ed8jnbmf.fsf@bsb.me.uk> <867ceadtih.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Fri, 28 Jun 2024 03:21:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3676fcdb950143c607d286a4991a0048"; logging-data="3146619"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2isK+wIyoSTioLT4iU28Bd/jL82Pt3JE="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:9YtyD9hYYGvJH/UK2EtuYnfkh2s= sha1:TfO+iXwNjfrkj989/hTJj8JBwsU=
Xref: csiph.com comp.lang.c:386606
scott@slp53.sl.home (Scott Lurndal) writes:
> bart writes:
>
>> On 27/06/2024 21:23, Tim Rentsch wrote:
>>
>>> After taking care of all that the build did manage to produce an
>>> executable, which appears to have run successfully.
>>>
>>> After doing a trial run with the produced executable, I looked at
>>> the tcc man page. As best I can tell, tcc simply silently
>>> ignores the -fPIC option.
>>
>> I think that it tries to be a drop-in replacement for gcc, so supports
>> some of its options, even if they don't do anything. Like -O3.
>>
>> Position-independent code seems to be a recent thing with gcc tools. My
>> tools didn't support it either, until a year ago when I found out about
>> ASLR.
>
> gcc has supported generating position independent code for at
> over a quarter of a century.
>
>> For most, PIC isn't a necessity.
>
> That's your opinion.
Not really an opinion, but either a conjecture or a belief about
a question of fact. It may not be easy to determine whether
the conjecture is true or not, but it's still a question of
fact and not just an opinion.
> I don't think it matches reality.
That it is reasonable to ask whether the statement matches
reality is a giveaway that the proposition is a question
of fact and not merely a matter of opinion.