Re: question about linker

Liste des GroupesRevenir à cl c 
Sujet : Re: question about linker
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.c
Date : 11. Dec 2024, 12:57:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vjbunl$1h46m$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Mozilla Thunderbird
On 11/12/2024 09:18, Michael S wrote:
On Wed, 11 Dec 2024 05:37:15 -0000 (UTC)
antispam@fricas.org (Waldek Hebisch) wrote:

You are exagerating and that does not help communication.  In this
group there were at least one serious poster claiming to write code
depending only on features from older C standard.
 For some definition of "serious".
 
People like this
presumably would care if some "toy" compiler discoverd non-compliance.
Concerning tcc, they have explicit endorsment from gawk developer:
he likes compile speed and says that gawk compiles fine using tcc.
>
In may coding I use gcc extentions when I feel that there is
substantial gain.  But for significant part of my code I prefer
to portablility, and that may include avoiding features not
supported by lesser compilers.  I the past tcc was not able
to compile code which I consider rather ordinary C, and due
to this and lack of support for my main target I did not use
tcc.  But tcc improved, ATM I do not know if it is good enough
for me, but it passed initial tests, so I have no reason to
disregard it.
>
BTW: IME "exotic" tools and targets help with finding bugs.
So even if you do not normally need to compile with some
compiler it makes sense to check if it works.
>
 I would think that the main reason for David Brown's absence of
interest in tcc is simply because tcc do not have back ends for
targets that he cares about.
In particular, Arm port appears to be abandoned in 2003, so quite
likely tcc can't generate code that runs on MCUs with ARMv7-M
architecture that happens to be released first in the same year and
officially named in the 2004.
I remember running TCC on both RPi1 (2012) and RPi4 (2019). That would be ARM32 (some version of ARMv7 I guess; I find ARM model numbers bewildering).
It's possible I also tried TCC in the ARM64 mode of RPi4.
So it sounds rather unlikely that TCC doesn't support ARM.

Date Sujet#  Auteur
11 Dec 24 * Re: question about linker30Waldek Hebisch
11 Dec 24 +* Re: question about linker13Michael S
11 Dec 24 i+* Re: question about linker11bart
11 Dec 24 ii+- Re: question about linker1Michael S
11 Dec 24 ii+* Re: question about linker7David Brown
11 Dec 24 iii`* Re: question about linker6Michael S
11 Dec 24 iii `* Re: question about linker5David Brown
11 Dec 24 iii  `* Re: question about linker4Michael S
12 Dec 24 iii   `* Re: question about linker3David Brown
12 Dec 24 iii    +- Re: question about linker1Michael S
12 Dec 24 iii    `- Re: question about linker1Waldek Hebisch
12 Dec 24 ii+- Re: question about linker1Waldek Hebisch
12 Dec 24 ii`- Re: question about linker1Keith Thompson
11 Dec 24 i`- Re: question about linker1David Brown
11 Dec 24 `* Re: question about linker16David Brown
12 Dec 24  `* Re: question about linker15Janis Papanagnou
12 Dec 24   `* Re: question about linker14bart
12 Dec 24    `* Re: question about linker13Janis Papanagnou
12 Dec 24     `* Re: question about linker12bart
12 Dec 24      `* Re: question about linker11Janis Papanagnou
12 Dec 24       +- Re: question about linker1bart
13 Dec 24       `* Re: question about linker9Waldek Hebisch
13 Dec 24        `* Re: question about linker8David Brown
13 Dec 24         +* Re: question about linker3Janis Papanagnou
13 Dec 24         i`* Re: question about linker2David Brown
13 Dec 24         i `- Re: question about linker1Janis Papanagnou
13 Dec 24         +- Re: question about linker1bart
14 Dec 24         `* Re: question about linker3Waldek Hebisch
14 Dec 24          `* Re: question about linker2bart
14 Dec 24           `- Re: question about linker1Waldek Hebisch

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal