RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 12:58 pm

All times are UTC





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: gcc cross-compiler for mcpu32, windows
PostPosted: Wed May 20, 2020 9:16 pm 
Offline
Newbie

Joined: Wed Jul 09, 2014 4:11 pm
Posts: 24
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-needed

and managed to find an answer since then:
https://gnutoolchains.com/m68k-elf/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl