1,079
edits
(→PPC build: fix previous modification that was partially incorrect) |
(→PPC build: Remove refs to MPEG2) |
||
(One intermediate revision by one other user not shown) | |||
Line 40: | Line 40: | ||
The twist here, is that you should install these libs to a separate location from the regular system libraries. Since we're compiling PPC 10.2 specific versions, we don't want to overwrite our regular libraries. I went with /opt/1028libs/. Just set this with the --prefix option to the ./configure script, for all the libraries you're including. Do this, and make sure you've defined the above environmental libraries both when you do ./configure and when you do make, and you should be set. For some of the libraries you might also need to use the --host=powerpc-apple-darwin option when running the ./configure script. | The twist here, is that you should install these libs to a separate location from the regular system libraries. Since we're compiling PPC 10.2 specific versions, we don't want to overwrite our regular libraries. I went with /opt/1028libs/. Just set this with the --prefix option to the ./configure script, for all the libraries you're including. Do this, and make sure you've defined the above environmental libraries both when you do ./configure and when you do make, and you should be set. For some of the libraries you might also need to use the --host=powerpc-apple-darwin option when running the ./configure script. | ||
To compile the SDL library (and maybe some of the other libraries) you will also need to set CPPFLAGS to a slightly different value than what is written above: | |||
export CPPFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 -nostdinc -I$SDK/usr/include/gcc/darwin/3.3 -isystem $SDK/usr/include -arch ppc -F$SDK/System/Library/Frameworks" | |||
Once you've set up all the dependency libraries, you're ready to build ScummVM itself. | Once you've set up all the dependency libraries, you're ready to build ScummVM itself. | ||
Line 74: | Line 77: | ||
./configure \ | ./configure \ | ||
--with-sdl-prefix=/opt/1028libs/bin \ | --with-sdl-prefix=/opt/1028libs/bin \ | ||
--with-mad-prefix=/opt/1028libs \ | |||
--with-ogg-prefix=/opt/1028libs --with-vorbis-prefix=/opt/1028libs \ | --with-ogg-prefix=/opt/1028libs \ | ||
--with-vorbis-prefix=/opt/1028libs \ | |||
--with-flac-prefix=/opt/1028libs | --with-flac-prefix=/opt/1028libs | ||
edits