-
Notifications
You must be signed in to change notification settings - Fork 59
Compiling Mac OSX
jgoppert edited this page Apr 6, 2012
·
13 revisions
vi /opt/local/etc/macports/macports.conf
Set universal architectures and the binary path for builds. The universal architectures lets us compile universal binaries supporting all mac platforms. The binpath tells macports to use the tools like gcc built by macports in preference to the ones found in /usr/bin :
universal_arches = i386 ppc x86_64
binpath = /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
Grab a newer gcc compiler first:
sudo port install gcc44 +universal
Then install dependencies:
sudo port install OpenSceneGraph-devel +universal sudo port install qt4-mac-devel +universal