2 This file is made possible by contributions from:
3 Todd Smith <msmith@sikorsky.com>
4 Curt Olson <curt@flightgear.org>
5 Erik Hofman <erik@ehofman.com>
10 The following packages should be installed before FlightGear (or SimGear
11 or PLib) can be compiled on Irix:
13 Irix development headers and libraries
14 --------------------------------------
16 compiler_dev.sw.base irix_dev.sw.headers
17 compiler_dev.sw.ld dev.sw.lib
21 gl_dev.sw.gldev dmedia_dev.sw.base
24 MipsPro C and C++ Compiler environment
25 --------------------------------------
27 c++_dev.hdr.lib c_dev.sw.c
28 c++_dev.sw.c++ c_fe.sw.c
34 FlightGear Flight Simulator Software
35 ----------------------------------------
37 FlightGear: http://www.flightgear.org
38 SimGear: http://www.simgear.org
39 Plib: http://plib.sourceforge.net
44 2. Compiling and Installation
46 To create a set of binaries it is important to follow these steps. This
47 will build a statically linked executable /opt/bin/fgfs
49 1. Extract, and install GLUT, following the build guidelines provided
50 by the author of GLUT.
52 2. Extract, configure and install Plib:
54 CXXFLAGS="-O2 -G0 -use_readonly_const -rdata_shared -I/opt/include" \
55 CFLAGS=$CXXFLAGS LDFLAGS="-L/opt/lib32" \
56 ./configure --prefix=/opt --libdir=/opt/lib32
59 3. Extract, configure and install SimGear:
61 CXXFLAGS="-O2 -G0 -use_readonly_const -rdata_shared -I/opt/include \
62 -woff 1001,1012,1014,1116,1172,1174,1401,1460,1551,1552,1681" \
63 CFLAGS="-Xcpluscomm "$CXXFLAGS LDFLAGS="-L/opt/lib32 -L../zlib" \
64 ./configure --prefix=/opt --libdir=/opt/lib32 --with-logging
65 sh ../FlightGear-0.x.x/irix-hack.sh
68 4. Extract, configure and install FlightGear:
70 CXXFLAGS="-O2 -G0 -use_readonly_const -rdata_shared -I/opt/include \
71 -woff 1001,1012,1014,1116,1172,1174,1401,1460,1551,1552,1681" \
72 CFLAGS="-Xcpluscomm "$CXXFLAGS LDFLAGS="-L/opt/lib32" \
73 CPPFLAGS="-woff 1014" \
74 ./configure --prefix=/opt --with-simgear=/opt --without-loging
79 The irix-hack.sh script fixes some compiler specific problems which were
80 introduced after the adoption of the C++ Standard Template Library.
81 Not running this script will result in an error message like this:
82 CC ERROR: -ar option requires archive name to be specified with -o option
84 If this happens, just run the irix-hack script and continue with make.
87 The "automake -a -i" command is required because automake with automatic
88 dependency building breaks the native Irix compilers.
93 Before the FlightGear program could be run it is important to install the
94 FlightGear base package (the default is to extract the base package into
97 This package can be found at: http://www.flightgear.org
99 When all is set and done, just run /opt/bin/runfgfs
100 To see the command line options, run /opt/bin/runfgfs --help