-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi,
when trying to compile in the src/fpemu directory, i get some compile errors:
-
: that warning is only valid for gcc >= 8 (has already been fixed upstream)
tftools/src/ext/libcmini/sources/div.c
Line 27 in ae12d16
#if defined(__GNUC__) && __GNUC__ >= 7 -
and
Line 33 in ae12d16
movec d0,cacr : the movec instruction is already encoded with .word, but also as instruction. Since this source is compiled for m68000 only, the assembler chokes about an unsupported instructionLine 41 in ae12d16
movec d0,cacr -
https://github.com/agranlund/tftools/blob/master/src/common/sys.c: you should add (void) casts to all Cconws() calls, to avoid warning from the macro
-
has an extra trailing '>'
tftools/src/fpemu/fpe/fpe_atari.c
Line 30 in ae12d16
#include <mint/sysvars.h>>
Now i'm stuck when compiling fpu_68020.c. The compiler is invoked with
m68k-atari-mint-gcc -m68000 -m68020-60, but that causes the assembler to be invoked with
as -m68040 -mcpu=68000 -mcpu=68000
thus selecting m68000 instruction set. Then it chokes about the inline bfffo asm statement. This happens only with gcc >= 7, with gcc 4.6.4 it works.
You should try to avoid passing more than one cpu option (it doesn't work in the original gcc anyway, because then the assembler options are pasted together)