home *** CD-ROM | disk | FTP | other *** search
-
-
- To install, use binary mode ftp and retrieve the file gnat-3.09-nt.exe.
- and then run it to start the installation program which will guide through
- the rest of installation.
-
- The documentation should be retrieved from gnat-3.07-docs.tar.gz or
- gnat-3.07-docs.zip in the parent directory and the gnatinfo.txt which
- is contained in this directory.
-
- Contents.
- ---------
- Installing the GDB (Debugger).
- Installing on a Drive Other Than C.
- Running GNAT.
- Putting GNAT on your PATH.
-
- Installing the GDB (Debugger).
- ------------------------------
-
- A non-Ada aware version of gdb can be installed by selecting the
- custom option during installation. Please check cs.nyu.edu/pub/gnat/winnt
- in the future for an Ada aware version of gdb as well as the latest
- version of GNAT for windows NT and windows 95.
-
- Installing on a Drive Other Than C.
- -----------------------------------
-
- If you want to install GNAT on a drive other than C: (default
- installation) you should :
-
- 1) In the GNAT installation:
-
- (a) Click on the browse button when you are asked if you want to
- install GNAT in C:\USR.
-
- (b) Change C:\USR into X:\USR, where X: is your favorite drive.
-
- (c) Continue with the installation.
-
- 2) After the installation is complete, open an MS/DOS command prompt.
- There, change directory to "X:\USR\BIN" and invoke the command
- "gcc -v". This will the registery entries for the Cygnus dll used
- by GNAT.
-
- 3) Run the command "regedit" in Windows NT/95
-
- (a) Goto the registry key
-
- HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts
-
- Click on mounts. You should find several sub-keys numbered
- 00, 01, 02, ... On our system it goes up to 04.
-
- (b) Click on each 0? sub-key. They all should have a "native"
- entry. Look for the sub-key where the "native" entry is
- set to "c:" (on our system it is sub-key 04). Change this
- entry to be "x:" where "x" is the drive where you installed
- GNAT.
-
- 4) you are done
-
- What you have actually done in step 2.(b) is to mount (ie map) the
- equivalent of UNIX "/" to Windows "x:\".
-
- Running GNAT.
- -------------
-
- Even though the installation program says that an icon has been
- created for GNAT, no icon has really been created and you must invoke
- the command "gcc" from the MS/DOS command prompt or any other command
- shell. You can invoke "gcc" from the Start/Run menu. That will open an
- MS/DOS window, run GNAT, but the window will disappear after
- compilation terminates, preventing you from reading any errors you may
- have in your source.
-
- If you have installed Emacs with the da-mode you can invoke "gcc" from
- Emacs in the usual way.
-
- Putting GNAT on your PATH.
- --------------------------
-
- To make sure that the various GNAT commands such as "gcc", "gnatmake",
- etc can be invoked from everywhere and not just from X:\USR\BIN (X is
- the drive where you installed GNAT), add X:\USR\BIN to your %PATH%
- environment variable.
-
- WARNING:
-
- if you have installed the Cygnus gnu-win32 package make sure that
- X:\USR\BIN appers in your %PATH% environment variable before any
- "...\H-i386-cygwin32\bin", otherwise when invoking gcc you will run
- the one which comes with the Cygnus distribution which does not
- include GNAT.
-
-
-
-