cebix / macemu

Basilisk II and SheepShaver Macintosh emulators
1.4k stars 291 forks source link

src/MacOSX/0_HOW_TO_BUILD.txt does not exist #166

Open dbarowy opened 6 years ago

dbarowy commented 6 years ago

The INSTALL file says:

Mac OS X: If you have the prebuilt application, there is nothing to do. If you have the developer tools installed, and want to built it yourself, look in the file src/MacOSX/0_HOW_TO_BUILD.txt

Only, there does not appear to be any such file.

edwardloveall commented 6 years ago

It looks like they were very old and possibly not relevant? The commit that removed them was 4f63169c. Here's what the text said:

How to build this source

1) Install the OS X Development tools

Source now only builds on 10.2 and 10.3. On 10.1, there are a few compile and link errors that I just can't be bothered to fix. On 10.4 when doing Xcode builds, there are problems with the way that I have built libslirp.a. For now, do "make" instead of "make ide".

2) Open a Terminal, and cd to BasiliskII-1.0/src/MacOSX

3) autoconf autoheader ./configure

This creates some symlinks to files in the Unix source and /usr/libexec directories, generates ./configure, and runs it.

The end result is a Makefile and some header files

4) make

This should generate the uae_cpu emulator core's source, compile the SLIRP sources and then the application.

  • It is also possible to use the OS X integrated development environment (i.e. "Project Builder" or Xcode) to build the application, instead of make. Instead of step 4) above, do these steps:

4) make ide

This should generate the uae_cpu emulator core's source, and then open the project in the Project Builder or Xcode IDE.

5) From the Build menu, choose 'Build' or 'Build & Run'

This should build everything

Notes:

1) Compiling cpuemu.cpp takes 58 seconds on my 384MB G4 400. Compiling it as separate files (cpuemu1.cpp thru cpuemu8.cpp) takes 68 seconds on the same machine. If you have less RAM, it may be faster to compile it as separate files.

2) If you want to change the addressing default (which is currently direct), you have to reconfigure. (i.e. make clean; ./configure --enable-addressing=banks)

3) To emulate a Mac Classic, or any Mac with 24bit addressing, the app needs to be built with the above (bank) style addressing.

edwardloveall commented 6 years ago

Looks like there are some instructions here: https://www.emaculation.com/doku.php/compiling_sheepshaver_basilisk

kencu commented 6 years ago

or use MacPorts:

sudo port -v install basiliskii or sudo port -v install sheepshaver.