July 21, 1997
=============
-Here is a quick outline of one way you can build FG for Win32 using a
-completely free development environment.
+Here is a quick outline of *one* way you can build FG for Win32 using
+a completely free development environment.
-1. Setup your development environment. The main Cygnus Gnu-Win32
- page is at:
+1. Install and configure the Cygnus Gnu-Win32 development
+ environment. The main Cygnus Gnu-Win32 page is at:
http://www.cygnus.com/misc/gnu-win32/
- Download and install the Cygnus Gnu-Win32 compiler:
+ You can download the Cygnus Gnu-Win32 compiler from:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/cdk.exe
- Be sure to read this package's README for post installation
- configuration instructions:
+ To install, just run the file: "cdk.exe". Be sure to read this
+ package's README for post installation configuration instructions:
http://www.cygnus.com/misc/gnu-win32/readme_toc.html
Be sure to use the -d option. This will create all the needed
subdirectories. Otherwise you will have one big mess!
- You should now have directory called ``FlightGear'' with several
+ This should create a directory called ``FlightGear'' with several
subdirectories.
-3. Install the OpenGL/GLUT headers. Cd to ``FlightGear\Src\Win32''.
- There you will find a file called gl-hdrs.zip. Assuming you
- installed the free Cygnus compiler in C:\gnuwin32\b18,, copy the
- file ``gl-hdrs.zip'' to ``c:\gnuwin32\b18\include\":
+3. Install the OpenGL/GLUT headers. Cd to the newly created
+ directory: ``FlightGear\Src\Win32''. There you will find a file
+ called gl-hdrs.zip. Assuming you installed the free Cygnus
+ compiler in C:\gnuwin32\b18,, copy the file ``gl-hdrs.zip'' to
+ ``c:\gnuwin32\b18\include\":
copy gl-hdrs.zip c:\gnuwin32\b18\include\
pkunzip -d gl-hdrs.zip
- You can remove the gl-hdrs.zip file if you wish.
+ Remember the -d option! You can remove the gl-hdrs.zip file if
+ you wish.
4. Install the OpenGL dynamic link libraries. If you are running
extract the files. To install these permanently on your system,
you can copy them to your ``c:\windows\system\" directory.
Otherwise, you could just as easily copy them to the
- ``FlightGear\Src\OpenGL'' directory or someplace that is in your
- path.
+ ``FlightGear\Src\OpenGL'' directory or else someplace that is in
+ your path.
4. Edit the ``make.inc'' file. Go back to the main FlightGear source
directory. From where ever you extracted the FG code, cd to
Uncomment all the makefile defines in the ``Cygnus Win32''
section. Also, you should comment out any of the defines in the
- other sections.
+ other platform dependent sections.
5. Build the executable. From the same ``FlightGear\Src'' directory,
these are serious.
-6. Try it out! cd to the FlightGear\Src\OpenGL directory and run the
- simulator:
+6. Try it out! When make is done, cd to the FlightGear\Src\OpenGL
+ directory and run the simulator:
fg0