1
0
Fork 0
flightgear/docs-mini/README.IRIX

90 lines
2.6 KiB
Text
Raw Normal View History

2001-07-02 22:41:38 +00:00
This file is made possible by contributions from:
2002-02-01 21:21:58 +00:00
Todd Smith <msmith@sikorsky.com>
Curt Olson <curt@flightgear.org>
Erik Hofman <erik@ehofman.com>
2001-07-02 22:41:38 +00:00
1. Requirements
2001-07-02 22:41:38 +00:00
The following packages should be installed before FlightGear (or SimGear
or PLib) can be compiled on Irix:
2002-02-01 21:21:58 +00:00
Irix development headers and libraries
(from the Irix 6.5 development CD's)
--------------------------------------
2002-02-01 21:21:58 +00:00
compiler_dev.sw.base irix_dev.sw.headers
compiler_dev.sw.ld dev.sw.lib
compiler_dev.sw.util
compiler_dev.hdr.lib
2001-07-02 22:41:38 +00:00
gl_dev.sw.gldev dmedia_dev.sw.base
x_dev.sw.dev
2002-02-01 21:21:58 +00:00
MipsPro C and C++ Compiler environment
--------------------------------------
2002-02-01 21:21:58 +00:00
c++_dev.hdr.lib c_dev.sw.c
c++_dev.sw.c++ c_fe.sw.c
c++_dev.sw.lib
c++_eoe.sw.lib
c++_fe.sw.c++
2002-02-01 21:21:58 +00:00
FlightGear Flight Simulator Software
----------------------------------------
2002-02-01 21:21:58 +00:00
FlightGear: http://www.flightgear.org
SimGear: http://www.simgear.org
Plib: http://plib.sourceforge.net
GLUT: http://
ZLIB: http://
MetaKit: http://www.a1.nl/~ehofman/fgfs/downloads/metakit-2.0.1-FGFS.tar.gz
2001-07-02 22:41:38 +00:00
2. Compiling and Installation
2001-07-02 22:41:38 +00:00
To create a set of binaries it is important to follow these steps. This
will build a statically linked executable /opt/bin/fgfs
2002-02-01 21:21:58 +00:00
1. Install GLUT, Zlib and MetaKit.
2001-07-02 22:41:38 +00:00
2. Extract, configure and install Plib:
2002-02-01 21:21:58 +00:00
automake -a -i
CXXFLAGS="-O2 -I/opt/include" LDFLAGS="-L/opt/lib32"
./configure --prefix=/opt --libdir=/opt/lib32
make install
2001-07-02 22:41:38 +00:00
3. Extract, configure and install SimGear:
2002-02-01 21:21:58 +00:00
CXXFLAGS="-O2" LDFLAGS="-L/opt/lib32"
./configure --prefix=/opt --libdir=/opt/lib32 --without-logging
make install
2001-07-02 22:41:38 +00:00
4. Extract, configure and install FlightGear:
2002-02-01 21:21:58 +00:00
CXXFLAGS="-O2" CFLAGS="-O2 -Xcpluscomm" LDFLAGS="-L/opt/lib32"
./configure --prefix=/opt --with-simgear=/opt --without-loging
make install
2001-07-02 22:41:38 +00:00
The irix-hack.sh script fixes some compiler specific problems which were
introduced after the adoption of the C++ Standard Template Library.
2001-07-02 22:41:38 +00:00
The "automake -a -i" command is required because automake with automatic
dependency building breaks the native Irix compilers.
2001-07-02 22:41:38 +00:00
3. Running
2001-07-02 22:41:38 +00:00
Before the FlightGear program could be run it is important to install the
FlightGear base package (the default is to extract the base package into
2002-02-01 21:21:58 +00:00
/opt/lib32).
2001-07-02 22:41:38 +00:00
This package can be found at: http://www.flightgear.org
2001-07-02 22:41:38 +00:00
When all is set and done, just run /opt/bin/runfgfs
2002-02-01 21:21:58 +00:00
To see the command line options, type "man -M /opt/man fgfs"