0
|
1 Building DynCall on Mac OS X
|
|
2 ============================
|
|
3
|
|
4
|
|
5 The build system supports universal binaries (including static libraries) by
|
|
6 default (i386, x86_64).
|
|
7 In addition, the desired SDK can be choosen.
|
|
8
|
|
9 Optional configure switches for Mac OS X:
|
|
10
|
|
11 Operating System:
|
|
12 --target=MacOSX (optional, auto-detect)
|
|
13
|
|
14 SDK:
|
|
15 --sdk=<version> (optional, auto-detect)
|
|
16
|
|
17 Architecture:
|
|
18 not specified, builds universal binaries depending on SDK version
|
|
19
|
|
20
|
|
21 Configure and build for host platform:
|
|
22
|
|
23 ./configure
|
|
24 make
|
|
25 sudo make install
|
|
26
|
|
27
|
|
28 Compile for Mac OS X 10.4u:
|
|
29
|
|
30 configure --target=MacOSX --sdk=10.4u
|
|
31
|