[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
If you want to compile and use Crystal Space for DOS using the DJGPP compiler (http://www.delorie.com/djgpp), you're reading the right document.
You should use the Crystal Space makefile system to compile Crystal Space. This will require some utilities and libraries which are common in Unix-like environments but not in DOS. Here is a list of all of the files you should need to compile Crystal Space with DJGPP:
DJGPP development kit
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/djdev201.zip
DJGPP frequently asked questions
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/faq210b.zip
DJGPP DPMI provider
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2misc/csdpmi3b.zip
DJGPP GNU C++ libraries
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/lgp271b.zip
DJGPP GNU help system
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/txi390b.zip
DJGPP GNU linker and assembler
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/bnu281b.zip
DJGPP GNU C compiler
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gcc281b.zip
DJGPP GNU C++ compiler
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gpp281b.zip
DJGPP GNU make utility
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/mak375b.zip
DJGPP GNU sed utility
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/sed302b.zip
DJGPP GNU file utilities
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/fil316b.zip
DJGPP GNU text utilities
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/txt122b.zip
DJGPP GNU shell utilities
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/shl112b.zip
DJGPP GNU diff utilities
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/dif271b.zip
Compiled zip, jpeg and png libraries
ftp://ftp.linuxgames.com/crystal/support/doslibs.zip
These are needed if the "original" libraries don't work.
See MSDOS Bugs.
NASM (Netwide Assembler) for DOS
ftp://ftp.linuxgames.com/crystal/nasm/nasm-0.98e-bin-dos.zip
LIBDXE (Dynamic Library Loader) for DJGPP
ftp://ftp.linuxgames.com:/crystal/support/dxe2_012.zip
Follow these installation instructions:
SET PATH=c:\djgpp\bin;c:\nasm\bin;%PATH% SET DJGPP=c:\djgpp\djgpp.env |
If you use the Allegro graphics library (and want to use it in Crystal Space), you can use an alternative video driver. For this, you will have to add the following line to `CS/config.mak' after the configuration step.
USE_ALLEGRO = yes |
The pre-compiled libraries on the Crystal Space site didn't work for me, so I made my own. You can download them from here:
http://asp.planetquake.com/dl/dl.asp?simitar/doslibsb.zip
Do not unzip the other compiled libraries into your Crystal Space directory. (Delete them if you already unzipped them.) Unzip my version of the compiled libraries into your DJGPP directory.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |