1 Flight Gear uses the Gnu autoconf and automake tools for managing
2 Makefiles. It also uses libtool to manage building shared and static
3 libraries. Key input files for this system are:
5 configure.in - Top level directory
6 Makefile.am - One in each subdirectory
7 Include/config.in - input file for building config.h
9 If you need to modify any of these files, you will need to build and
10 install the following packages:
12 - GNU autoconf 2.12 (available from ftp://prep.ai.mit.edu/pub/gnu)
13 - GNU automake 1.2h (available from ftp://ftp.cygnus.com/pub/tromey)
15 Libtool is not currently used:
17 - GNU libtool 1.2 (available from ftp://prep.ai.mit.edu/pub/gnu)
18 (or maybe ftp://alpha.gnu.org/gnu)
19 - After upgrading libtool, if we were using it, you would want to run:
23 When making a change to any of these files you will need to run:
25 aclocal ; automake -a ; autoconf
27 Then follow the regular build procedure:
29 ./configure; make; make install
31 For debuging purposes you might want to try something like:
33 CFLAGS=-Wall CXXFLAGS=-Wall ./configure; make; make install
35 For full optimization using the EGCS compiler on an Intel processor you
36 could try something like:
38 MACH="-mpentium" # -m486 -mpentiumpro etc.
39 export CC=egcc # for Linux
40 export CFLAGS="-Wall -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH"
41 export CXXFLAGS="-Wall -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH"