Corrections to sync with recent changes, added warning about automake/autoconf for those that have parse issues with configure.in.

This commit is contained in:
n-a-c-h
2006-03-15 15:27:21 +00:00
parent 3d401596f4
commit dd41e97123

View File

@@ -15,10 +15,7 @@ DOS port:
- NASM v0.98.39 or higher - NASM v0.98.39 or higher
- DJGPP v2 or higher, (GCC also installed) : http://www.delorie.com/djgpp/ - DJGPP v2 or higher, (GCC also installed) : http://www.delorie.com/djgpp/
using the zip picker, the default choices are ok if you using the zip picker, the default choices are ok if you
check C and C++ in the programming languages. You also need check C and C++ in the programming languages.
to get zlib which is available with the full distribution
of djgpp. You can get it at :
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/zlib112b.zip
- zlib : http://www.zlib.net - zlib : http://www.zlib.net
- libpng : http://www.libpng.org/ - libpng : http://www.libpng.org/
Build the static versions of both of these libraries using Build the static versions of both of these libraries using
@@ -44,7 +41,7 @@ make -f makefile.ms PLATFORM=dos-cross
If you have any problems we will probably not help you as cross compiling If you have any problems we will probably not help you as cross compiling
is an advanced feature only for people who know what they are doing. is an advanced feature only for people who know what they are doing.
Windows port with MSVC: Windows port with MSVC:
- GNU Make : http://unxutils.sourceforge.net/ - GNU Make : http://unxutils.sourceforge.net/
@@ -61,7 +58,7 @@ Windows port with MSVC:
compiler could provide any useful optimizations (maybe compiler could provide any useful optimizations (maybe
for winlink.cpp?). for winlink.cpp?).
- DX8.0 SDK or higher : you can get it at microsoft.com. It is quite big. - DX8.0 SDK or higher : you can get it at microsoft.com. It is quite big.
Also, edit makefile.win to set the correct path to your Also, edit makefile.ms to set the correct path to your
SDK. I also had some problems with vc++ using its own SDK. I also had some problems with vc++ using its own
(old) directx headers instead of the sdk headers. I replaced (old) directx headers instead of the sdk headers. I replaced
these old headers (in the include directory of vc++ dir) these old headers (in the include directory of vc++ dir)
@@ -104,7 +101,7 @@ it will divide its size by 10.
Windows port cross compiling: Windows port cross compiling:
-You need to get the MinGW cross compiler and everything else mentioned above. -You need to get the MinGW cross compiler and everything else mentioned above.
-You might need to edit makefile.ms and change -You might need to edit makefile.ms and change
i586-mingw32msvc-gcc, i586-mingw32msvc-g++, and i586-mingw32msvc-windres i586-mingw32-gcc, i586-mingw32-g++, and i586-mingw32-windres
to something else. to something else.
Then to build the executable, go to the src directory and type: Then to build the executable, go to the src directory and type:
@@ -113,8 +110,8 @@ make -f makefile.ms PLATFORM=win32-cross
If you have any problems we will probably not help you as cross compiling If you have any problems we will probably not help you as cross compiling
is an advanced feature only for people who know what they are doing. is an advanced feature only for people who know what they are doing.
Linux/SDL/POSIX port: Linux/SDL/POSIX port:
I assume the standard development tools are installed (gcc, make, ...) I assume the standard development tools are installed (gcc, make, ...)
You'll also need : You'll also need :
@@ -138,6 +135,9 @@ You'll also need :
Then to build the executable, go to the src directory and type: Then to build the executable, go to the src directory and type:
sh ./autogen.sh && gmake && gmake install sh ./autogen.sh && gmake && gmake install
Note: autogen.sh requires automake and autoconf installed. Any parse errors
you recieve about configure.in are due to those not being installed.
Note: you require root to install zsnes to the the default (/usr/local/*) Note: you require root to install zsnes to the the default (/usr/local/*)
directory directory
@@ -145,4 +145,4 @@ Also Note: libpng (optional) needs to be recent, or zsnes will not use it
You may also want to compress the zsnes executable with upx You may also want to compress the zsnes executable with upx
(http://upx.sourceforge.net), it will divide its size by 10. (http://upx.sourceforge.net), it will divide its size by 10.