index 564013568c004169da4fbfecedad1f231b61076d..58c544c0d72694378b2900fa4ce85c70d9309d5e 100644 (file)
--- a/README
+++ b/README
Create the "tmp" and "bin" directories and then run:
cd src/game
- fpc -O3 -FE../../bin -FU../../tmp Doom2DF.lpr
+ fpc -g -gl -O3 -FE../../bin -FU../../tmp Doom2DF.lpr
Additionally you can add following options:
System driver:
* -dUSE_MPG123 Build with libmpg123
* -dUSE_OPUS Build with libopus
Other:
+ * -dSDL2_NODPI Build for old libSDL2
* -dUSE_MINIUPNPC Build with libminiupnpc for automatic server port
forwarding via UPNP
* -dENABLE_HOLMES Build with ingame map debugger
* -dHEADLESS Build a headless executable for dedicated servers
-Replace -O3 with -g -gl to enable debugging features. Run the game with --gdb
-when using a debugger to prevent it from eating exceptions.
+Run the game with --gdb when using a debugger to prevent it from eating
+exceptions.
Windows binaries will require the appropriate DLLs (SDL2.dll, SDL2_mixer.dll or
FMODEx.dll, ENet.dll, miniupnpc.dll), unless you choose to static link them.
Static Linking
--------------
-See ( http://repo.or.cz/d2df-binlib.git ) repo for prebuild dynamic and static
+See ( http://repo.or.cz/d2df-binlib.git ) repo for prebuilt dynamic and static
libraries.
It is now possible to link windoze LibJIT and ENet as static libs.