Updated 'install.txt' for DOS and Windows ports.

This commit is contained in:
stainless
2001-09-28 03:28:00 +00:00
parent 172b5cd217
commit edbe232bbd

View File

@@ -6,6 +6,8 @@ is a quick guide (based on my own experience and on a doc written by zsKnight)
explaining how to compile zsnes. With these tools, I can build both dos and explaining how to compile zsnes. With these tools, I can build both dos and
win version, I hope it will also work for you win version, I hope it will also work for you
(slighty updated by stainless)
First, you need the following software: First, you need the following software:
@@ -21,6 +23,12 @@ Dos port :
to get zlib which is available with the full distribution to get zlib which is available with the full distribution
of djgpp. You can get it at : of djgpp. You can get it at :
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/zlib112b.zip ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/zlib112b.zip
- zlib : http://www.info-zip.org/pub/infozip/zlib/
- libpng : http://www.libpng.org/
Build the static versions of both of these libraries using
DJGPP and do a 'make install' to put them where DJGPP
can find them. Afterwards you can go ahead and delete
the source for them from your hard drive.
Then to build the executable, go to the src directory and type: Then to build the executable, go to the src directory and type:
make -f makefile.dos make -f makefile.dos
@@ -37,6 +45,12 @@ Windows port :
out of environment space error, type 'command /e:32768' out of environment space error, type 'command /e:32768'
(to create a new command.com entity with more (to create a new command.com entity with more
environment space) environment space)
I have been able to sucessfully build ZSNES using the
Intel C++ drop-in replacement for Microsoft's C++ compiler
that comes with MSVC++ 5 and above. Since ZSNES contains
relatively small amounts of C, I don't see how Intel's
compiler could provide any useful optimizations (maybe
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.win 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
@@ -48,6 +62,12 @@ Windows port :
doesn't seem to work with zsnes). Rename the static version doesn't seem to work with zsnes). Rename the static version
to zlib.lib and put it somewhere where vc++ will find it to zlib.lib and put it somewhere where vc++ will find it
(for example, the lib directory in vc++ dir). (for example, the lib directory in vc++ dir).
- libpng : http://www.libpng.org/
I'm not sure if the dynamically linked version of libpng
will work with ZSNES. To be safe I would recommend to just
go ahead and build the static version. Rename it to libpng.lib
and put it somewhere where MSVC++ will find it (usually the
lib subdirectory of your main MSVC++ directory).
Don't forget to set the correct path to the directx sdk in makefile.win! Don't forget to set the correct path to the directx sdk in makefile.win!
Then to build the executable, go to the src directory and type: Then to build the executable, go to the src directory and type: