Re: [Tinycc-devel] Miscompilation of __attribute__((cleanup))

2025-05-24 Thread grischka via Tinycc-devel
On 22.05.2025 17:29, Herman ten Brugge via Tinycc-devel wrote: On 5/11/25 23:11, Lino Mastrodomenico wrote: Hi all, TCC semantics for the __attribute__((cleanup)) implementation are different from GCC and Clang. [...] I pushed a fix for this. Herman I'd think we better don't switch t

[Tinycc-devel] Questions: how to use libtcc on an embedded ARM 32bits micro-controller?

2025-05-24 Thread Lilian Besson
Hello dear developers and maintainers of TCC, I've started to be interested into trying to port the TCC compiler on a graphical calculator, the ones manufactured by NumWorks (a French startup). NumWorks calculators use ARM micro-controllers (specifically, STM32 micro-controllers). As stated by

[Tinycc-devel] Bug report -r command line switch does not produce valid a.out file

2025-05-24 Thread Ben Hutchinson
Instead of producing a valid a.out file when using the -r commandline switch, it outputs a valid ELF file with the filename "a.out". The actual structure of a valid a.out file is COMPLETELY different from an ELF file. In fact, the compiled output produced with the -c commandline switch is IDENTICAL

Re: [Tinycc-devel] Commit "Accept -MMD, depfile for the Linux Kernel" MinGW Bug.

2025-05-24 Thread avih via Tinycc-devel
On Saturday, May 24, 2025 at 12:18:34 AM GMT+3, tylo wrote: > MingGW-W64 14.2. Message during compilation: > > tcc: error: could not open '' > > Commit 30c2373c, May 7. > Still present in the commit of May 22. I can't reproduce an issue when building tcc with mingw gcc 13.2, and commit 30c2373