[Crossfire-wiki] [Crossfire DokuWiki] page changed: crossfire_compile_guide

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Thu Jul 3 15:08:35 CDT 2008


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2008/07/03 15:08
User        : raphael
Edit Summary: recommend to use -O0 and -g in CFLAGS

@@ -155,8 +155,9 @@
  Double check that you are in the correct directory which is the server directory
  
     $ pwd
     /home/<username>/server.svn
+ 
  
  
  ==== COMPILE ====
  
@@ -164,8 +165,12 @@
  
    $ ./configure && make && sudo make install
  
  Any missing dependencies, errors or similar problems during the compile process will be listed.  Each should be addressed or resolved accordingly.
+ 
+ **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):
+ 
+   $ CFLAGS="-O0 -g" ./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  : 80.200.188.21
Old Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide?rev=1213127627
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