GCC as m68k cross-compiler

I used to do pretty much what you are doing right now.

My advice is to use crosstool-ng (http://crosstool-ng.github.io), as it does pretty much everything in an automated manner.

If you are studying m68k assembly, I used to host a modified version of gcc-explorer by Matt Godbolt (https://godbolt.org/). You can find a runnable docker image here (https://hub.docker.com/r/esantoro/acso-explorer/) and some more details here (https://znpy.wordpress.com/2017/05/08/decommisioning-acso-explorer-santoro-tk/)

Hope it helps,

znpy