Bruninho wrote on 2020-12-14, 22:16:
Did anyone manage to compile for macOS? Be it Intel-based or M1-based Macs?
Versions 16 and 17 are available here, with build instructions for Mojave and Catalina. My thanks to @kyr0 who figured out how to get V14 to compile in 2019 and those on the PCem board who worked it out for V16+17. There is even a native Mac application wrapper and DMG available to download.
Today I figured out how to get both versions running in Big Sur. It is a bit of a work-around because currently it will not compile directly - you need to follow a slightly 'tweaked' build process in Mojave or Catalina and then transfer the binary to Big Sur with an additional dependency. The full instructions are there, but let us know on the Github page if you need any help. 😀
Apart from figuring out how to directly compile in Big Sur, we intend to look at the reported problem with degraded performance (on the Mac only) in version 17. Also, none of us in that group have ARM Macs so that is yet to be investigated as well.
I was planning to post this information on the PCem board - I only got my registration sorted out in the last day.
EDIT: I have fixed the build errors and I can now get v16 and v17 to successfully compile and run in Big Sur 11.2.1. The repositories and instructions have been updated.
DOSBox SVN for macOS (x86-64) - customized with Munt MT-32, Nuked OPL3, 3dfx Voodoo, Extra RAM, Large HD, and more.