I wanted to find a small niche hobby coding project that approximately nobody would care about.

I'm tooting about it now, and I don't expect you to care.

I want to use m68k-linux-gnu-as cross-assembler, but it doesn't support the Motorola syntax the original Amiga tools did.

How hard can it be to write a preprocessor that converts vasm mot syntax module compatible assembly to GNU as?!

Turns out, less trivial than I thought.

#Amiga #RetroComputing #m68k#Assembly

@jani I had to do something similar once when when a company I worked for moved from a commercial cross compiler to GCC. Instead of trying to convert by hand all the assembly we had, I wrote a gawk script to do it. It may have taken me just as long to do the job from start to finish, but at least I wasn't bored the whole time. 😆