Hello!
I had some problems compiling software (newlib and SDL) with -m68020 and -m68020-60. The fact is that gcc for MiNT is configured to not add -D__mc68000__ -D__M68000_ when configured to compile for 020 or higher.
Is this different from other m68k platforms?
newlib and SDL rely on the defines to check for a generic m68k platform, and so fail to detect it, as only -D__M68020__ -D__mc68020__ is defined. Well, I don't know for other m68k platforms, but I think that -D__mc68000__ -D__M68000_ should be defined in all cases, and 020+ defines added if needed.
The define is processor specific so I don't it's a good idea to define both if compiling for 68020-60.
Regards, Frank -- ATARI FALCON 060 // MILAN 060 ----------------------------------------- http://www.cs.uni-magdeburg.de/~fnaumann/ e-Mail: fnaumann@freemint.de