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:

  1. Copied Xcode 4.3 to an external hard drive
  2. Installed Mountain Lion
  3. Installed Xcode 4.4 from App Store.
  4. Installed git.
  5. Installed command line tools for Xcode from the Xcode preferences Downloads tab.
  6. Copied / across from Xcode 4.3 to Xcode 4.4
  7. Copied /Applications/ to /Applications/
  8. Set up a symbolic link to the libstdc++.6.0.9.dylib library with the following Terminal command: sudo ln -s /usr/lib/libstdc++.6.0.9.dylib /Applications/ If the symbolic link exists already, Terminal will complain about it, but anyway you're fine.
  9. Set up an additional symbolic link by running this command: ln -s /Applications/ /usr/local/bin/g++-4.2. This initially did not work, as the /usr/local/bin folder didn't exist. Having created that folder, I then made the link.
  10. Installed gcc 4.7 according to the instructions here: Installing GCC 4.7 on the Mac (this step took me like 5 hours).
  11. 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.