[Crossfire-wiki] [Crossfire DokuWiki] page changed: crossfire_compile_guide
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Wed Mar 2 15:24:06 CST 2011
A page in your DokuWiki was added or changed. Here are the details:
Date : 2011/03/02 15:24
User : leaf
Edit Summary: Note about enabling addition debugging info with -ggdb3
@@ -163,9 +163,9 @@
==== COMPILE ====
- Recent SVN commit (~2007-Mar-30) changed the build process for the server; use the following command in the server root directory:
+ SVN commit (~2007-Mar-30) changed the build process for the server; use the following command in the server root directory:
$ sh autogen.sh && make && sudo make install
autogen.sh script re-creates the configure (./configure) script while the rest of the command starts the compile (build) process. Pass the same options to autogen.sh as you would normally pass to ./configure since autogen.sh calls ./configure.
@@ -181,8 +181,12 @@
**Optional:** If you want to have more useful debugging information in case of crashes, set the CFLAGS environment variable to disable optimization (-O0) and enable debugging (-g): That is a uppercase letter O and a zero
$ CFLAGS="-O0 -g" ./configure && make && sudo make install
+
+ **Optional:** For even more gdb debugging information, add -ggdb3 to the command
+
+ $ CFLAGS="-O0 -ggdb3" ./configure && make && sudo make install
**Optional:** To disable the unit test or check when compiling the server, use ./configure --disable-check
$ ./configure --disable-check && make && sudo make install
IP-Address : 65.193.16.100
Old Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide?rev=1299100788
New Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list