1 Flight Gear uses the Gnu autoconf and automake tools for managing
2 Makefiles. Key input files for this system are:
4 configure.in - Top level directory
5 Makefile.am - One in each subdirectory
6 Include/config.in - input file for building config.h
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:
12 - GNU autoconf (available from ftp://prep.ai.mit.edu/pub/gnu)
13 - GNU automake (available from ftp://ftp.cygnus.com/pub/tromey)
15 After making a change to configure.in you will need to run:
17 aclocal ; autoheader ; automake -a ; autoconf
19 Then follow the regular build procedure:
21 ./configure; make; make install
23 For debuging purposes you might want to try something like:
25 CFLAGS=-Wall CXXFLAGS=-Wall ./configure; make; make install
27 For full optimization using the EGCS compiler on an Intel processor you
28 could try something like:
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"