Skip to content

Instantly share code, notes, and snippets.

@olveirap
Last active July 3, 2019 16:13
Show Gist options
  • Save olveirap/37d7e8adca01e196e474e23497fe2ad0 to your computer and use it in GitHub Desktop.
Save olveirap/37d7e8adca01e196e474e23497fe2ad0 to your computer and use it in GitHub Desktop.
How to compile bochs for MacOS
Modify iodev/hdimage/cdrom_osx.cc:194 for line: if ((devname = (char *) strrchr(devpath, '/')) != NULL) {
brew install sdl pkg-config
./configure --with-sdl
change Makefile: prefix = ~/bochs
do mkdir ~/bochs before doing make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment