compilingonmac
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
compilingonmac [2012/01/29 01:54] – [Cross-compiling for PPC on i386] glaubitz | compilingonmac [2012/05/16 00:53] – [Installing extra packages in Macports] glaubitz | ||
---|---|---|---|
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 |
</ | </ | ||
Line 144: | Line 144: | ||
to the project files. | to the project files. | ||
- | ===== Cross-compiling for PPC on i386 ===== | + | ===== Cross-compiling for PPC on i386 (on MacOS 10.5) ===== |
It is possible to cross-compile Macports and the MiniDisc software for PPC on an i386 host. This is very convenient as it dramatically speeds up building the software for PPC since the fastest PPC Macs are much slower than current Intel machines. | It is possible to cross-compile Macports and the MiniDisc software for PPC on an i386 host. This is very convenient as it dramatically speeds up building the software for PPC since the fastest PPC Macs are much slower than current Intel machines. | ||
Line 164: | Line 164: | ||
Other ports to be patched: //libmad//, //orc//. | Other ports to be patched: //libmad//, //orc//. | ||
- | For //orc//, comment the first line shown here out and add the second one: | + | For //orc//, comment the first line shown here out (prepend the hash sign) and add the second one: |
< | < | ||
Line 171: | Line 171: | ||
</ | </ | ||
- | For //libmad//, just add: | + | For //libmad// and //fftw-3//, just add: |
< | < | ||
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