|
From: David G. <dga...@gm...> - 2018-04-21 15:15:45
|
2018-04-21 16:58 GMT+02:00 Vincent Rivière <vin...@fr...>: > On 21/04/2018 at 16:53, David Gálvez wrote: >> >> "#if !(defined(M68000) || defined(__mcoldfire__))") > > > IIRC (not sure): > > - defined(M68000) means: "we are building the MINT000.PRG" > - defined(__mcoldfire__) means: "we are building the MINTV4E.PRG" (as we > don't have a specific define) > > A specific define can be useful when building several kernels with the same > CPU options (which definitely happens in EmuTOS). > I'm thinking about creating the machine flag "COLDFIRE" in KERNELDEFS, add it in the sources wherever the M68040 macro is used and then remove the -DM68040 flag when compiling the MINTV4E.PRG. Also I have seen that when compiling MINT020.PRG, the -D68000 flag is used, this seems wrong to me. I think about creating the M68020 machine flag too that is missing now. |