ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/0_HOW_TO_BUILD.txt
Revision: 1.13
Committed: 2008-01-02T23:19:54Z (16 years, 4 months ago) by nigel
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +3 -1 lines
Log Message:
Replace mention to 1_prepare_files.sh script with discrete commands

File Contents

# User Rev Content
1 nigel 1.1 How to build this source
2     ------------------------
3    
4     1) Install the OS X Development tools
5    
6 nigel 1.11 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 nigel 1.12 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 nigel 1.11
11 nigel 1.1
12 nigel 1.7 2) Open a Terminal, and cd to BasiliskII-1.0/src/MacOSX
13 nigel 1.1
14 nigel 1.13 3) autoconf
15     autoheader
16     ./configure
17 nigel 1.1
18 nigel 1.3 This creates some symlinks to files in the Unix source and
19     /usr/libexec directories, generates ./configure, and runs it.
20 nigel 1.1
21 nigel 1.3 The end result is a Makefile and some header files
22 nigel 1.1
23 nigel 1.3 4) make
24 nigel 1.1
25 nigel 1.2 This should generate the uae_cpu emulator core's source,
26 nigel 1.11 compile the SLIRP sources and then the application.
27 nigel 1.1
28     * It is also possible to use the OS X integrated development environment
29 nigel 1.9 (i.e. "Project Builder" or Xcode) to build the application, instead of make.
30 nigel 1.4 Instead of step 4) above, do these steps:
31 nigel 1.1
32 nigel 1.3 4) make ide
33 nigel 1.1
34 nigel 1.2 This should generate the uae_cpu emulator core's source,
35 nigel 1.8 and then open the project in the Project Builder or Xcode IDE.
36    
37 nigel 1.3 5) From the Build menu, choose 'Build' or 'Build & Run'
38 nigel 1.1
39     This should build everything
40 nigel 1.5
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 nigel 1.10 2) If you want to change the addressing default
51 nigel 1.9 (which is currently direct), you have to reconfigure.
52     (i.e. make clean; ./configure --enable-addressing=banks)
53    
54 nigel 1.10 3) To emulate a Mac Classic, or any Mac with 24bit addressing,
55 nigel 1.9 the app needs to be built with the above (bank) style addressing.