"I added exceptions into the mix. Now I got the same 'Progam aborted' [...] When using m68k-amigaos-g++ rather than m68k-amigaos-gcc, it would suddenly work."
Sounds like he didn't use the -fexception flag?
Sounds like he didn't use the -fexception flag?
"-funwind-tables" enables stack unwinding
"-fasynchronous-unwind-tables" makes the stack unwinding available for debuggers
"-fno-dwarf2-cfi-asm" makes the debugger unwind table "old style", so unwinding info goes into .eh_frame and .eh_frame_hdr section (or .ARM.extab and .ARM.exidx on ARM) instead of .debug.*
These sections are then parsed by the backtrace() family of glibc calls: https://www.gnu.org/software/libc/manual/html_node/Backtrace...