ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/0_HOW_TO_BUILD.txt
Revision: 1.5
Committed: 2003-01-10T23:00:43Z (21 years, 8 months ago) by nigel
Content type: text/plain
Branch: MAIN
CVS Tags: nigel-build-12, nigel-build-13
Changes since 1.4: +16 -0 lines
Log Message:
Added a few notes on different compilation strategies

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     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 nigel 1.4 BasiliskII-1.0/src. The tarball is currently only compatible with the
11     BasiliskII_src_15012002.tar.gz (1.0) snapshot.
12 nigel 1.2 Open a Terminal, and cd to BasiliskII-1.0/src/MacOSX
13 nigel 1.1
14 nigel 1.3 3) sh 1_prepare_files.sh
15 nigel 1.1
16 nigel 1.3 This creates some symlinks to files in the Unix source and
17     /usr/libexec directories, generates ./configure, and runs it.
18 nigel 1.1
19 nigel 1.3 The end result is a Makefile and some header files
20 nigel 1.1
21 nigel 1.3 4) make
22 nigel 1.1
23 nigel 1.2 This should generate the uae_cpu emulator core's source,
24 nigel 1.1 and then the application.
25    
26     * It is also possible to use the OS X integrated development environment
27     (i.e. the "Project Builder" IDE) to build the application, instead of make.
28 nigel 1.4 Instead of step 4) above, do these steps:
29 nigel 1.1
30 nigel 1.3 4) make ide
31 nigel 1.1
32 nigel 1.2 This should generate the uae_cpu emulator core's source,
33     and then open the IDE with the file in BasiliskII.pbproj
34 nigel 1.1
35 nigel 1.3 5) From the Build menu, choose 'Build' or 'Build & Run'
36 nigel 1.1
37     This should build everything
38 nigel 1.5
39    
40    
41     Notes:
42    
43     1) Compiling cpuemu.cpp takes 58 seconds on my 384MB G4 400.
44     Compiling it as separate files (cpuemu1.cpp thru cpuemu8.cpp)
45     takes 68 seconds on the same machine. If you have less RAM,
46     it may be faster to compile it as separate files.
47    
48     2) For some reason, compiling on 10.2 with DIRECT_ADDRESSING 1
49     results in an executable that cannot write to the screen.
50    
51     3) If you want to change the REAL_ADDRESSING or DIRECT_ADDRESSING
52     defaults in sysdeps.h, you will need to reconfigure.
53     (i.e. make distclean; sh 1_prepare_files.sh)