]> git.mxchange.org Git - flightgear.git/blob - docs-mini/README.IRIX
Updated with latest build information.
[flightgear.git] / docs-mini / README.IRIX
1
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>
6
7
8 1. Requirements
9
10 The following packages should be installed before FlightGear (or SimGear
11 or PLib) can be compiled on Irix:
12
13             Irix development headers and libraries
14             (from the Irix 6.5 development CD's)
15             --------------------------------------
16
17         compiler_dev.sw.base            irix_dev.sw.headers
18         compiler_dev.sw.ld              dev.sw.lib
19         compiler_dev.sw.util
20         compiler_dev.hdr.lib            
21
22         gl_dev.sw.gldev                 dmedia_dev.sw.base
23         x_dev.sw.dev
24
25             MipsPro C and C++ Compiler environment
26             --------------------------------------
27
28         c++_dev.hdr.lib                 c_dev.sw.c
29         c++_dev.sw.c++                  c_fe.sw.c
30         c++_dev.sw.lib
31         c++_eoe.sw.lib
32         c++_fe.sw.c++
33
34
35             FlightGear Flight Simulator Software
36             ----------------------------------------
37
38         FlightGear:     http://www.flightgear.org
39         SimGear:        http://www.simgear.org
40         Plib:           http://plib.sourceforge.net
41         GLUT:           http://
42         ZLIB:           http://
43         MetaKit:        http://www.a1.nl/~ehofman/fgfs/downloads/metakit-2.0.1-FGFS.tar.gz
44
45
46
47 2. Compiling and Installation
48
49 To create a set of binaries it is important to follow these steps. This
50 will build a statically linked executable /opt/bin/fgfs
51
52    1. Install GLUT, Zlib and MetaKit.
53
54    2. Extract, configure and install Plib:
55         automake -a -i
56         CXXFLAGS="-O2 -I/opt/include" LDFLAGS="-L/opt/lib32"
57         ./configure --prefix=/opt --libdir=/opt/lib32
58         make install
59
60    3. Extract, configure and install SimGear:
61         CXXFLAGS="-O2" LDFLAGS="-L/opt/lib32"
62         ./configure --prefix=/opt --libdir=/opt/lib32 --without-logging
63         make install
64
65    4. Extract, configure and install FlightGear:
66         CXXFLAGS="-O2" CFLAGS="-O2 -Xcpluscomm" LDFLAGS="-L/opt/lib32"
67         ./configure --prefix=/opt --with-simgear=/opt --without-loging
68         make install
69
70
71 The irix-hack.sh script fixes some compiler specific problems which were 
72 introduced after the adoption of the C++ Standard Template Library.
73
74 The "automake -a -i" command is required because automake with automatic
75 dependency building breaks the native Irix compilers.
76
77
78 3. Running
79
80 Before the FlightGear program could be run it is important to install the
81 FlightGear base package (the default is to extract the base package into
82 /opt/lib32).
83
84 This package can be found at: http://www.flightgear.org
85
86 When all is set and done, just run /opt/bin/runfgfs
87 To see the command line options, type "man -M /opt/man fgfs"
88
89