1 |
How to build this source |
2 |
------------------------ |
3 |
|
4 |
1) Install the OS X Development tools |
5 |
|
6 |
Source now only builds on 10.2 and 10.3. On 10.1, there are a few |
7 |
compile and link errors that I just can't be bothered to fix. |
8 |
On 10.4 when doing Xcode builds, there are problems with the way that |
9 |
I have built libslirp.a. For now, do "make" instead of "make ide". |
10 |
|
11 |
|
12 |
2) Open a Terminal, and cd to BasiliskII-1.0/src/MacOSX |
13 |
|
14 |
3) autoconf |
15 |
autoheader |
16 |
./configure |
17 |
|
18 |
This creates some symlinks to files in the Unix source and |
19 |
/usr/libexec directories, generates ./configure, and runs it. |
20 |
|
21 |
The end result is a Makefile and some header files |
22 |
|
23 |
4) make |
24 |
|
25 |
This should generate the uae_cpu emulator core's source, |
26 |
compile the SLIRP sources and then the application. |
27 |
|
28 |
* It is also possible to use the OS X integrated development environment |
29 |
(i.e. "Project Builder" or Xcode) to build the application, instead of make. |
30 |
Instead of step 4) above, do these steps: |
31 |
|
32 |
4) make ide |
33 |
|
34 |
This should generate the uae_cpu emulator core's source, |
35 |
and then open the project in the Project Builder or Xcode IDE. |
36 |
|
37 |
5) From the Build menu, choose 'Build' or 'Build & Run' |
38 |
|
39 |
This should build everything |
40 |
|
41 |
|
42 |
|
43 |
Notes: |
44 |
|
45 |
1) Compiling cpuemu.cpp takes 58 seconds on my 384MB G4 400. |
46 |
Compiling it as separate files (cpuemu1.cpp thru cpuemu8.cpp) |
47 |
takes 68 seconds on the same machine. If you have less RAM, |
48 |
it may be faster to compile it as separate files. |
49 |
|
50 |
2) If you want to change the addressing default |
51 |
(which is currently direct), you have to reconfigure. |
52 |
(i.e. make clean; ./configure --enable-addressing=banks) |
53 |
|
54 |
3) To emulate a Mac Classic, or any Mac with 24bit addressing, |
55 |
the app needs to be built with the above (bank) style addressing. |