Sujet : Re: question about linker
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 12. Dec 2024, 01:04:07
Autres entêtes
Organisation : None to speak of
Message-ID : <87o71hwyvc.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
User-Agent : Gnus/5.13 (Gnus v5.13)
bart <
bc@freeuk.com> writes:
[...]
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.
tcc supports multiple targets. On Linux, if you build from source using
"--enable-cross" as an argument to "./configure", it will build (as of
the latest version) 12 different compilers:
arm-tcc
arm-wince-tcc
arm64-osx-tcc
arm64-tcc
c67-tcc
i386-tcc
i386-win32-tcc
riscv64-tcc
tcc
x86_64-osx-tcc
x86_64-tcc
x86_64-win32-tcc
"tcc" is equivalent to "x86_64-tcc", matching the system I built it on.
I note that there are 4 ARM variants. I don't know enough about ARM
CPUs to know what useful variants might be unsupported.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */