I'm working to patch code into my Lotus ECU. Previous attempts at this were successful using the EASy68k compiler because I didn't use the extended cpu32 instruction set that the MC68376 offers.
Now, I want to patch in code that uses the extended instruction set (for instance, DIVS.L, a 32-bit divide command), but EASy68k only supports up to the MC68000 command set.
I would like some help obtaining a cross-compiler that creates machine code for the MC68376 out of C code or assembler written on my windows computer.
Online documentation for making a gcc cross-compiler is fantastically opaque, and other descriptions that rely on some shell (.sh ) script seem to need some special program to execute (windows does not natively come with Bash, right?).
I've been using MinGW's gcc, and am capable of writing my own assembler program, but I would prefer to use well-tested, open-source tools. My lack of competence is a huge barrier at this point.
Can anyone talk me through the process? I would greatly appreciate help with this.
edit: I also asked the question over on stack overflow:
https://stackoverflow.com/questions/618 ... ler-neededand managed to find an answer since then:
https://gnutoolchains.com/m68k-elf/