From 0e7784eaf7b7b43bf76ca50ad9be79a2169fd3d3 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 8 Oct 1999 00:26:46 +0000 Subject: [PATCH] Updates for Irix builds. --- README.Unix | 50 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/README.Unix b/README.Unix index a25d80690..9494facf8 100644 --- a/README.Unix +++ b/README.Unix @@ -56,21 +56,44 @@ To make sure joystick support is included when building under Linux: IV. Procedure to build FGFS with Native SGI Irix Compilers from CVS Sources =========================================================================== -(Contributed by Todd Smith ) +(Contributed by Todd Smith with modifications +and updates by Curt Olson) -Download the latest version of plib (1.0.13) from: +Download the latest version of plib (1.0.18) from: http://www.woodsoup.org/~sbaker/plib/ -Install it with the default prefix of /usr/local which places +Configure it with the default prefix of /usr/local which places everthing in a tree rooted at /usr/local/plib: sh$ CC="cc -Xcpluscomm" CXX=CC ./configure -Fix up the Makefiles using the script provided with the Flight Gear -distribution: +*Before* running make, fix up the plib Makefiles using the script +provided with the Flight Gear distribution: + + find . -name Makefile -exec .../src/FlightGear-0.7.x/irix-hack.pl {} \; + +This applies a fix in all the Makefiles to the lib creation command +(to use CC -ar rather than ar) as per a tip in the SGI pipeline +periodical. + +Now, make and install plib. + +Download the latest fgfs source snapshot from: + + ftp://ftp.flightgear.org/pub/fgfs/Source/Snapshots/ + +Configure and build fgfs as you did plib: + + sh$ CC="cc -Xcpluscomm" CXX=CC ./configure + sh$ find . -name Makefile -exec .../src/FlightGear-0.7.x/irix-hack.pl {} \; + - find . -name Makefile -exec .../src/FlightGear-0.7.0/irix-hack.pl {} \; +V. Additional Notes for Building from CVS Sources +================================================== + +(Contributed by Todd Smith ) +and updates by Curt Olson) Download the FlightGear-0.7.x via anonymous cvs as usual, then do: @@ -129,16 +152,11 @@ warning(3303): type qualifier on return type is meaningless warning(3322): omission of explicit type is nonstandard ("int" assumed) -V. Additional Native SGI Irix Compilers Notes -============================================= - -If you are building with native SGI compilers try running configure like the -following (assuming sh syntax): - - CC=cc CXX=CC CFLAGS="-Xcpluscomm -woff 1014" ./configure +VI. Additional Native SGI Irix Compilers Notes +============================================== -Then (and this step is *VERY* important for your success) run the following -command: +Fixing all the Makefiles' with irix-hack.pl is *VERY* important for +your success): find . -name Makefile -exec irix-hack.pl {} \; @@ -171,7 +189,7 @@ just run: gmake Don't worry about the make failing in the Tools directory. That's all -under construction stuff right now (3/9/99) and if you get that far, +under construction stuff right now (10/7/99) and if you get that far, rejoice because it means the simulator was successfully built in the Simulator/Main subdirectory. -- 2.39.5