The new gcc12 release does not support stabs any more. This was a good reason to add support for dwarf.
You can enable this by configuring with option --dwarf=x where x=2..5 Most targets should support version 5. Apple probably needs some adjustments in tccmacho.c for this to work. I do not know how well supported dwarf is on apple.I tested this on x86_64, i386, arm, arm64 and riscv64 on fedora/raspberry pi/*bsd.
All testcases work and most targets support dwarf-5. Herman
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel