author | ecalot
<ecalot> 2005-05-14 16:41:42 UTC |
committer | ecalot
<ecalot> 2005-05-14 16:41:42 UTC |
parent | 3ae6cb3b5869df41db0b130a9448dd663dbf3632 |
FP/doc/INSTALL | +86 | -9 |
diff --git a/FP/doc/INSTALL b/FP/doc/INSTALL index f2bf4a8..0aaa91f 100644 --- a/FP/doc/INSTALL +++ b/FP/doc/INSTALL @@ -40,22 +40,24 @@ If you are using debian you can install the packages just typing: apt-get install wget gcc make libsdl1.2-dev bzip2 tar Make options: -- make compiles only the latest modified sources -- make build compiles all the sources -- make install downloads dat files and compiles the game -- make checks checks for the programs needed to perform a right compilation +- make compiles only the latest modified sources. +- make build compiles all the sources. +- make install downloads dat files and compiles the game. +- make checks checks for the programs needed to perform a right compilation. - make clean deletes all the files that are generated by make except the ones that have been downloaded. Note that this is not dangerous at all because make build will regenerate them. -- make download downloads the dat files, generate index +- make download downloads the dat files. - make headers parses the configuration files and builds the headers. This uses all the awk stuff and is very useful to make a package for other machines without awk installed (e.g. - machines running Windows systems). -- make it does all the necesary stuff to run the game and runs it -- make run runs a compiled game -- make build FS='' rebuilds the game in a non-fullscreen mode + machines running Windows systems). See make package. +- make it does all the necesary stuff to run the game and runs it. +- make run runs a compiled game. +- make build FS='' rebuilds the game in a non-fullscreen mode. +- make package creates a tar bz2 package with the generated headers and the + source to distribute it to systems without awk. CVS nightly tarballs: ~~~~~~~~~~~~~~~~~~~~ @@ -73,3 +75,78 @@ need a lot of time more to reach something similar. Please be patient. Current CVS distributions are just for developers or to show the improvements. +Ports: +~~~~~ + +Dependencies: + + There are 3 dependencies: + - getopt parsing module + - dirent structure + - sdl library + +Architectures: + 32 bits architectures are fully supported. + 64 bits architectures needs a lot of testing, bacause there are some crashes in the + state mapping module. + We need to check out the problem in Big Endian architectures, the images aren't + uncompressed properly causing Segmentation faults and SDL parachute deployment. + +Operating Systems: + +GNU/Linux: Fully supported + Install libsdl1.2-dev package to fix the sdl dependency. + getopt is provided by the GNU library. + Since linux is POSIX dirent is supported. + + GCC Compile line: + make + +Windows: Fully supported + Install the windows sdl1.2 developer package to fix the sdl dependency. + sdl.dll must be in the same directory where freeprince.exe is + getopt must be compiled also, but the port is included in the source. + Since windows is not POSIX dirent structure will be compiled also. + + LCC Compile line: + make -f makefile.lcc + +FreeBSD: Fully supported + Install libsdl1.2-dev package to fix the sdl dependency. + getopt must be compiled also, but the port is included in the source; + you will have to manually enable the getopt compiling adding the parameters + to the make line. + Since the OS is POSIX dirent is supported. + + GCC Compile line: + make GETOPTSRC='getopt.o getopt1.o' GETOPTENABLED='-DENABLE_GETOPT' + +IRIX: Partially supported + Nekoware SDL port should work as the sdl dependency. + remeber to make sdl-config accesible to the path (export PATH=$PATH:/usr/nekoware/bin) + and to make the proper symlinks for libSDL-1.2.so.1. + getopt must be compiled also, but the port is included in the source; + you will have to manually enable the getopt compiling adding the parameters + to the make line. + Dirent is supported. + + GCC Compile line: + make GETOPTSRC='getopt.o getopt1.o' GETOPTENABLED='-DENABLE_GETOPT' + + Note: Please read the 64 bits architectures problem above. + +Mac OS X: Partially supported + Install libsdl1.2-dev package to fix the sdl dependency. + getopt must be compiled also, but the port is included in the source; + you will have to manually enable the getopt compiling adding the parameters + to the make line. + Since the OS is POSIX dirent is supported. + + GCC Compile line: + make GETOPTSRC='getopt.o getopt1.o' GETOPTENABLED='-DENABLE_GETOPT' + + Note: Please read the big endian architectures problem above. + +Other *BSD and SunOS: Not yet supported + On the way. +