How to build the Mini vMac program from the source code.
Warning : This is not recommended unless you are a programmer familiar with the C language and your chosen development environment. First, the versions I provide (the standard Variations and the Variations Service), which are compiled using a specific version of GCC, are much better tested. Compiling with other development environments may encounter compiler bugs and Mini vMac bugs that only some compilers trigger. I try ensure that Mini vMac can compile with other development environments at the time of final release of a branch, but the results are not tested too thoroughly. Further, new versions of development environments released later may cause further problems, which won’t be corrected before the next branch of Mini vMac. So, when you compile your own copy of Mini vMac, you will need to test it thoroughly, and find a fix for any problems yourself. Second, for all development environments besides the set of GCC cross compilers that I use, the build system just tries to configure it for maximum chance of working correctly, and not for performance. If you want good performance, you will need to try out various compiler options, see what is fastest, and then thoroughly test to make sure that it works correctly. Third, if you are not familiar with your chosen development environment, I can not teach everyone in that position. For lack of time, and that I’m no expert in all development environments either.
:
First download the source code archive from the download page, a file with the name like “minivmac-3x.xx.src.tgz”. Extract from this file to get a folder. (Whose contents are described in the Contents of the source distribution page.)
The source for the configuration tool is in “setup”folder. In a unix like system, such as Linux on x86-64, it can be compiled using something like “gcc setup/tool.c -o setup_t”, then run with something like “./setup_t -t lx64 > setup.sh”, and the output run with “. setup.sh”, and then Mini vMac can be compiled with “make”.
Besides “-t”, the configuration tool accepts many more options, listed on the Mini vMac Options page. The Develop page has more options useful to developers and maintainers.
Before compiling the configuration tool, you can insert definitions into “setup/CONFIGUR.i”, such as to specify what development environment you are using. The Setup Tool Configuration page lists such choices.
:
If you find Mini vMac useful, please consider helping the Gryphel Project.
Next - Compiling Build System