]> git.mxchange.org Git - flightgear.git/blob - docs-mini/README.autoconf
Update VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive
[flightgear.git] / docs-mini / README.autoconf
1 Flight Gear uses the Gnu autoconf and automake tools for managing
2 Makefiles.  Key input files for this system are:
3
4     configure.in - Top level directory
5     Makefile.am - One in each subdirectory
6     Include/config.in - input file for building config.h
7
8 If you need to modify any of these files, you will need to install the
9 following packages.  If you don't have a prebuilt package for your OS,
10 you can fetch them from the locations listed below:
11
12     - GNU autoconf (available from ftp://prep.ai.mit.edu/pub/gnu)
13     - GNU automake (available from ftp://ftp.cygnus.com/pub/tromey)
14
15 After making a change to configure.in you will need to run:
16
17     aclocal ; autoheader ; automake -a ; autoconf
18
19 Then follow the regular build procedure:
20
21     ./configure; make; make install
22
23 For debuging purposes you might want to try something like:
24
25     CFLAGS=-Wall CXXFLAGS=-Wall ./configure; make; make install
26
27 For full optimization using the EGCS compiler on an Intel processor you 
28 could try something like:
29
30     MACH="-mpentium"   # -m486 -mpentiumpro etc.
31     export CC=egcc     # for Linux
32     export CFLAGS="-Wall -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH"
33     export CXXFLAGS="-Wall -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH"
34     ./configure
35