Ole Loots wrote:
OK, I did that. The make file produced some test executables... any of the produced executables throws an Illegal Instruction exception. I removed the -O2 flag from the compiler options and I also removed the -g option.
Remember, the first cause of failure on MiNT is programs with a stack size too small.
Please try this: stack -S 256k someprogram or even bigger stack sizes.If it still fails, please recompile a simple testcase without -O2 but with -g, and put the resulting binary somewhere we can download it and examine it.
-- Vincent Rivière