Mini vMac's site includes extensive documentation on how to build the emulator (https://www.gryphel.com/c/minivmac/build.html). However, I found that these instructions didn't cover my use case, which was a Windows 10 machine running Ubuntu in the Windows Subsystem for Linux.
My build unfortunately ended up being a bit of a hack, because the Makefile generation did not quite get the command lines for the C compiler and tools right, but I will document my steps here and assume that anyone interested enough will modify them as needed for their configuration.
Installing necessary packages
Before you begin building, you'll need a few packages. Here's what I installed under Ubuntu.
Preparing the source
You just need to download and uncompress the sources. All following commands will be run inside the source folder.
This goes pretty similarly to what is described on Mini vMac's site. You will need to customize the configuration slightly, though.
Next, use your host clang to build the configurator tool:
At this point, you can use that tool to generate a configuration script. Here's what I used, since I wanted a Mac SE FDHD.
This went fine and generated a setup.sh which you should now run:
Now you should have a Makefile. Here's where the hacks begin.
The generated Makefile had several problems which needed to be fixed with a text editor.
should get you editing the generated file. I needed to make several fixes.
First, I changed the following things in the file:
Then, I added three lines to the top of the file, right after the # line:
One more hack is required, but it's not in Makefile. Save and exit and then edit cfg/main.rc:
Then change the text "ICONAPPW.ico" to "src/ICONAPPW.ico", adding src/ on the front. That allows the tool that compiles the application's resources find the file containing the app's icon. At the end, the first line of that file should read
You can now save and exit. Make sure to return to the minivmac directory
At this point, simply typing
in the minivmac directory should trigger a successful build. The end result will be a file minivmac.exe. At this point you can copy it somewhere useful:
You can use Tab completion to figure out exactly where the file should land. That executable can now be run just like a normal Mini vMac executable
To date, Macintosh Repository served 1526807 old Mac files, totaling more than 308178.3GB!
Downloads last 24h = 1037 : 222916.3MB
Last 5000 friend visitors from all around the world come from: