compilingonmac
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
compilingonmac [2012/01/29 02:20] – [Cross-compiling for PPC on i386 (on MacOS 10.5)] glaubitz | compilingonmac [2012/10/09 22:19] – glaubitz | ||
---|---|---|---|
Line 12: | Line 12: | ||
* for MacOS 10.5 the latest version is 3.1.4: xcode314_2809_developerdvd.dmg | * for MacOS 10.5 the latest version is 3.1.4: xcode314_2809_developerdvd.dmg | ||
* for MacOS 10.6 the latest (free) version is 3.2.6: xcode_3.2.6_and_ios_sdk_4.3_final.dmg | * for MacOS 10.6 the latest (free) version is 3.2.6: xcode_3.2.6_and_ios_sdk_4.3_final.dmg | ||
- | * for MacOS 10.7 the latest version is 4.2 and can be downloaded through the Mac App Store | + | * for MacOS 10.7/10.8 the latest version is 4.2 and can be downloaded through the Mac App Store |
- | If you're using MacOS 10.6, you can also buy XCode (4.x) in the Mac App Store (free for 10.7). | + | If you're using MacOS 10.6, you can also buy XCode (4.x) in the Mac App Store (free for 10.7/10.8). |
==== Then, download and install the Qt development libraries and headers for your version of MacOS ==== | ==== Then, download and install the Qt development libraries and headers for your version of MacOS ==== | ||
Line 41: | Line 41: | ||
< | < | ||
- | sudo port install glib2 libmad git-core sox libgcrypt taglib libid3tag libusb-devel | + | sudo port install glib2 libmad git-core sox libgcrypt taglib libid3tag libusb |
</ | </ | ||
- | You will need to type your password to authenticate the //sudo//. Please be aware, that the //port// command will take quite an amount of time when you run it the first time since MacPorts has to compile all necessary packages from source. Especially on older PowerPC machines, the compilation of the code can take several hours (around 5 hours on a Mac Mini G4). It's highly recommended to let this step run over night on older machines. | + | You will need to type your password to authenticate the //sudo//. Please be aware, that the //port// command will take quite an amount of time when you run it the first time since MacPorts has to compile all necessary packages from source. Especially on older PowerPC machines, the compilation of the code can take several hours (measured 3 hours on a PowerMac |
==== Building and installing Qt4 through Macports ==== | ==== Building and installing Qt4 through Macports ==== | ||
Line 175: | Line 175: | ||
< | < | ||
configure.args --build=powerpc-apple-darwin9.8.0 | configure.args --build=powerpc-apple-darwin9.8.0 | ||
+ | </ | ||
+ | |||
+ | For //fftw-3//, comment out all lines containing references to " | ||
+ | |||
+ | Finally, for // | ||
+ | |||
+ | < | ||
+ | configure.ldflags -Wl, | ||
</ | </ | ||
Line 183: | Line 191: | ||
</ | </ | ||
+ | Finally, edit the qmake project file of linux-minidisc, | ||
+ | |||
+ | < | ||
+ | CONFIG += ppc | ||
+ | CONFIG -= i386 | ||
+ | </ | ||
+ | |||
+ | Then, build as described above. | ||
===== Important Notes ===== | ===== Important Notes ===== | ||
compilingonmac.txt · Last modified: 2017/10/01 09:04 by thp