20190504 devkit
Chilly Willy's Sega MD/CD/32X devkit
http://gendev.spritesmind.net/forum/viewtopic.php?t=3024
Chilly Willy's toolchain, along with a few examples. All the needed code is included together with a makefile to build everything at once. The toolchain is comprised of gcc 9.1.0, binutils 2.32, newlib 3.1.0, zasm 3.0.22
To build, make sure your /opt folder can be written by your user. Download chillys-sega-devkit-20190504.7z and decompress the archive into a folder; note that the file is about 101MB, compressed with 7zip. In a terminal, cd to the directory you decompressed everything to, then enter 'make'. It will create the toolchains directory (if need be) and then the sega directory inside that. It will then build c, c++, obj-c, and obj-c++ compilers for SH2 and 68000, using newlib for the standard c libraries. It will then create a bin directory in toolchains/sega, build zasm, and copy it into that bin directory. It will then copy the bootblocks and ldscripts directories into toolchains/sega. Once it's done, you can clean up the build folder by running 'make clean'. Note that the examples aren't copied into the toolchain.
Once the toolchain is done, you can build the examples to check that everything is working. The included samples are Yeti3D example, and the C/C++ TicTacToe examples for MD and 32X. All were tested and work fine on real hardware and Fusion 3.64.
Binary version compiled on Ubuntu 20.04 LTS is also provided as a separate download.