[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Before building Crystal Space, it is necessary to build the supporting libraries, `zlib', `libpng', and `libjpeg'. Crystal Space makes uses of these libraries, even though they are not an intrinsic part of the project itself.
These instructions assume that you wish to build multi-architecture libraries.
Adjust the CC="..."
directive to reflect the architectures you wish
to include in the generated libraries. If you do not wish to generate
multi-architecture libraries, then omit the CC="..."
directive
altogether. The list of supported architectures varies between MacOS/X,
MacOS/X Server 1.0 (Rhapsody), OpenStep, and NextStep.
See section 2.4.4.3 Architectures.
cd CS/libs/zlib sh ./configure make libz.a CC="cc -arch i386 -arch m68k -arch sparc -arch hppa" cd ../libpng make -f makefile.std libpng.a \ CC="cc -arch i386 -arch m68k -arch sparc -arch hppa" cd ../libjpeg sh ./configure make libjpeg.a CC="cc -arch i386 -arch m68k -arch sparc -arch hppa" |