Difference between revisions of "Fs2 open on Linux/Pre-Compile Configuration"

From FreeSpace Wiki
Jump to: navigation, search
(he slams it down right ...)
 
(Page Navigation)
Line 1: Line 1:
 +
{{Page Navigation|
 +
BookName=[[Fs2 open on Linux]]|
 +
CurrentPage=Pre-Compile Configuration|Pre-Compile Configuration|
 +
PrevPage=[[Fs2_open on Linux/Checkout Script|Checkout Script]]|
 +
NextPage=[[Fs2_open on Linux/Optimization|Optimization]]}}
 +
 
{{Note| This step is only for those who want the bleeding-edge source code to compile on their own. You can skip this if you intend to use a provided binary executable.}}
 
{{Note| This step is only for those who want the bleeding-edge source code to compile on their own. You can skip this if you intend to use a provided binary executable.}}
 
Before you compile you need to configure it for your system. In the directory you ran the CVS command from, a new directory has appear, namely fs2_open.
 
Before you compile you need to configure it for your system. In the directory you ran the CVS command from, a new directory has appear, namely fs2_open.

Revision as of 21:48, 3 September 2007

« Checkout Script Fs2 open on Linux
Pre-Compile Configuration
Optimization »


Note: This step is only for those who want the bleeding-edge source code to compile on their own. You can skip this if you intend to use a provided binary executable.

Before you compile you need to configure it for your system. In the directory you ran the CVS command from, a new directory has appear, namely fs2_open. If your fs2_open is a completely new checkout, you will first need to run the autogen.sh script. Run from inside your newly created fs2_open directory:

$ ./autogen.sh

autogen.sh is a script that will generate the required makefiles. You will see alot of "checking for this" and "checking for that", this is actually the "configure" script (which can be run with ./configure if you need to change the options) examining and configuring fs2_open for your system.
It is possible to give autogen.sh configure options as well, autogen.sh will pass them along to configure.

A full list of configure options can be found by running the configure script with the '--help' option.

$ ./configure --help