Set up Xcode 4.4 to compile Jamoma¶
Here is what Trond did August 2012 to get to compile Jamoma on OSX 10.8 using Xcode 4.4:
- Copied Xcode 4.3 to an external hard drive
- Installed Mountain Lion
- Installed Xcode 4.4 from App Store.
- Installed git.
- Installed command line tools for Xcode from the Xcode preferences Downloads tab.
/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdkacross from Xcode 4.3 to Xcode 4.4
- Set up a symbolic link to the
libstdc++.6.0.9.dyliblibrary with the following Terminal command:
sudo ln -s /usr/lib/libstdc++.6.0.9.dylib /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/libstdc++.dylib. If the symbolic link exists already, Terminal will complain about it, but anyway you're fine.
- Set up an additional symbolic link by running this command:
ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-g++-4.2 /usr/local/bin/g++-4.2. This initially did not work, as the
/usr/local/binfolder didn't exist. Having created that folder, I then made the link.
- Installed gcc 4.7 according to the instructions here: Installing GCC 4.7 on the Mac (this step took me like 5 hours).
- Brought all of Jamoma up to date, and run the build script from the Tools folder.
I'm now able to compile using gcc 4.7, but I have not yet tested how/if gcc 4.2 works.