1 |
nigel |
1.1 |
How to build this source |
2 |
|
|
------------------------ |
3 |
|
|
|
4 |
|
|
1) Install the OS X Development tools |
5 |
|
|
|
6 |
|
|
Source should build on either 10.0 or 10.1 |
7 |
|
|
(If anyone wants a version that will compile on Public Beta, email me) |
8 |
|
|
|
9 |
|
|
2) If grabbing this source from a tarball, put this MacOSX directory in |
10 |
|
|
BasiliskII-1.0/src. Source is currently only compatible with 1.0 snapshot. |
11 |
nigel |
1.2 |
Open a Terminal, and cd to BasiliskII-1.0/src/MacOSX |
12 |
nigel |
1.1 |
|
13 |
nigel |
1.2 |
3) sh 0prepare_links |
14 |
nigel |
1.1 |
|
15 |
nigel |
1.2 |
This creates some symlinks to files in the Unix and /usr/libexec directories |
16 |
nigel |
1.1 |
|
17 |
nigel |
1.2 |
4) autoconf |
18 |
nigel |
1.1 |
|
19 |
|
|
Ignore the warning. autoconf should generate ./configure |
20 |
|
|
|
21 |
nigel |
1.2 |
5) ./configure |
22 |
nigel |
1.1 |
|
23 |
|
|
This should generate a Makefile and some header files |
24 |
|
|
|
25 |
nigel |
1.2 |
6) make |
26 |
nigel |
1.1 |
|
27 |
nigel |
1.2 |
This should generate the uae_cpu emulator core's source, |
28 |
nigel |
1.1 |
and then the application. |
29 |
|
|
|
30 |
|
|
* It is also possible to use the OS X integrated development environment |
31 |
|
|
(i.e. the "Project Builder" IDE) to build the application, instead of make. |
32 |
|
|
Instead of step 6) above, do this: |
33 |
|
|
|
34 |
|
|
6) make ide |
35 |
|
|
|
36 |
nigel |
1.2 |
This should generate the uae_cpu emulator core's source, |
37 |
|
|
and then open the IDE with the file in BasiliskII.pbproj |
38 |
nigel |
1.1 |
|
39 |
|
|
7) From the Build menu, choose 'Build' or 'Build & Run' |
40 |
|
|
|
41 |
|
|
This should build everything |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
* There is one file in the source, cpuemu.cpp, which takes _ages_ to |
46 |
|
|
compile, particularly if optimisation is on. The Unix source splits the |
47 |
|
|
file into 8 smaller parts to compile separately, but I didn't find that |
48 |
|
|
really helped on OS X. Basically, you just have to be patient. |