-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathREADME.OSX
17 lines (10 loc) · 827 Bytes
/
README.OSX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
To build netrek-server on Mac OS X, download the latest xcode from
http://developer.apple.com/ and install
Make sure to install the Xcode command-line-tools: either via Xcode->Preferences->Components or (if not shown there) from https://developer.apple.com/download/more/
MacOS does not have system include files in /usr/include. It may be necessary to use a command like:
./configure LIBS=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
To see a list of potential include file locations, use the following command: "echo "" | gcc -xc - -v -E"
then configure and make in the usual way, see README.
--
To build this project using darwinports, use the following ./configure line:
./configure --with-gmp-incdir=/opt/local/include --with-gmp-libdir=/opt/local/lib