Difference between revisions of "Compiling using GCC"
m (Compiling Using a Makefile moved to Compiling using a Makefile) |
|||
Line 1: | Line 1: | ||
− | == | + | == GNU/Linux == |
1) Either download the [http://odamex.net/ latest source] or get a dev build using (must have [[svn|subversion]] installed!): svn co svn://odamex.net | 1) Either download the [http://odamex.net/ latest source] or get a dev build using (must have [[svn|subversion]] installed!): svn co svn://odamex.net | ||
Line 8: | Line 8: | ||
You can run "make server" or "make client" to only build the module you want. | You can run "make server" or "make client" to only build the module you want. | ||
+ | |||
+ | == FreeBSD == | ||
+ | |||
+ | To compile Odamex on FreeBSD, you must have the following ports installed, above and beyond the usual suspects: | ||
+ | *'''GNU Make''': [[http://cvsweb.freebsd.org/ports/devel/gmake gmake-3.80_2]] | ||
+ | *'''SDL 1.2.9''': [[http://cvsweb.freebsd.org/ports/devel/sdl12 sdl-1.2.9_2,2]] | ||
+ | *'''SDL_Mixer 1.2.6''': [[http://cvsweb.freebsd.org/ports/audio/sdl_mixer sdl_mixer-1.2.6_2]] | ||
+ | |||
+ | In addition, if you want to compile the absolute latest cutting edge version of Odamex, you will also need: | ||
+ | *'''Subversion''': [[http://cvsweb.freebsd.org/ports/devel/subversion subversion-1.3.0_4 ]] | ||
+ | |||
+ | Once those ports are installed, you can simply untar or grab the latest source through subversion into its own directory, switch to the trunk subdirectory, and simply type '''gmake'''. If you only want to compile the client or only compile the server, simply type '''gmake client''' or '''gmake server''' respectively. |
Revision as of 07:54, 12 April 2006
GNU/Linux
1) Either download the latest source or get a dev build using (must have subversion installed!): svn co svn://odamex.net
2) Untar the archive somewhere or go into your odamex svn trunk dir and type: make
3) Binaries should appear in the bin dir after a successful compile: odamex, odasrv, odamaster
You can run "make server" or "make client" to only build the module you want.
FreeBSD
To compile Odamex on FreeBSD, you must have the following ports installed, above and beyond the usual suspects:
- GNU Make: [gmake-3.80_2]
- SDL 1.2.9: [sdl-1.2.9_2,2]
- SDL_Mixer 1.2.6: [sdl_mixer-1.2.6_2]
In addition, if you want to compile the absolute latest cutting edge version of Odamex, you will also need:
- Subversion: [subversion-1.3.0_4 ]
Once those ports are installed, you can simply untar or grab the latest source through subversion into its own directory, switch to the trunk subdirectory, and simply type gmake. If you only want to compile the client or only compile the server, simply type gmake client or gmake server respectively.