home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 6 / IOPROG_06.ISO / ada / readme.txt < prev   
Encoding:
Text File  |  1996-06-17  |  3.3 KB  |  98 lines

  1.  
  2.  
  3. To install, use binary mode ftp and retrieve the file gnat-3.09-nt.exe.
  4. and then run it to start the installation program which will guide through
  5. the rest of installation.
  6.  
  7. The documentation should be retrieved from gnat-3.07-docs.tar.gz or
  8. gnat-3.07-docs.zip in the parent directory and the gnatinfo.txt which
  9. is contained in this directory.
  10.  
  11. Contents.
  12. ---------
  13.    Installing the GDB (Debugger).
  14.    Installing on a Drive Other Than C.
  15.    Running GNAT.
  16.    Putting GNAT on your PATH.
  17.  
  18. Installing the GDB (Debugger).
  19. ------------------------------
  20.  
  21. A non-Ada aware version of gdb can be installed by selecting the
  22. custom option during installation. Please check cs.nyu.edu/pub/gnat/winnt
  23. in the future for an Ada aware version of gdb as well as the latest
  24. version of GNAT for windows NT and windows 95.
  25.  
  26. Installing on a Drive Other Than C.
  27. -----------------------------------
  28.  
  29. If you want to install GNAT on a drive other than C: (default
  30. installation) you should :
  31.  
  32. 1) In the GNAT installation:
  33.  
  34.    (a) Click on the browse button when you are asked if you want to
  35.        install GNAT in C:\USR.
  36.  
  37.    (b) Change C:\USR into X:\USR, where X: is your favorite drive.
  38.  
  39.    (c) Continue with the installation.
  40.  
  41. 2) After the installation is complete, open an MS/DOS command prompt.
  42.    There, change directory to "X:\USR\BIN" and invoke the command
  43.    "gcc -v". This will the registery entries for the Cygnus dll used
  44.    by GNAT.
  45.  
  46. 3) Run the command "regedit" in Windows NT/95
  47.  
  48.    (a) Goto the registry key
  49.  
  50.      HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts
  51.  
  52.        Click on mounts. You should find several sub-keys numbered
  53.        00, 01, 02, ... On our system it goes up to 04.
  54.  
  55.    (b) Click on each 0? sub-key. They all should have a "native"
  56.        entry. Look for the sub-key where the "native" entry is
  57.        set to "c:" (on our system it is sub-key 04). Change this
  58.        entry to be "x:" where "x" is the drive where you installed
  59.        GNAT.
  60.  
  61. 4) you are done
  62.  
  63. What you have actually done in step 2.(b) is to mount (ie map) the
  64. equivalent of UNIX "/" to Windows "x:\".
  65.  
  66. Running GNAT.
  67. -------------
  68.  
  69. Even though the installation program says that an icon has been
  70. created for GNAT, no icon has really been created and you must invoke
  71. the command "gcc" from the MS/DOS command prompt or any other command
  72. shell. You can invoke "gcc" from the Start/Run menu. That will open an
  73. MS/DOS window, run GNAT, but the window will disappear after
  74. compilation terminates, preventing you from reading any errors you may
  75. have in your source.
  76.  
  77. If you have installed Emacs with the da-mode you can invoke "gcc" from
  78. Emacs in the usual way.
  79.  
  80. Putting GNAT on your PATH.
  81. --------------------------
  82.  
  83. To make sure that the various GNAT commands such as "gcc", "gnatmake",
  84. etc can be invoked from everywhere and not just from X:\USR\BIN (X is
  85. the drive where you installed GNAT), add X:\USR\BIN to your %PATH%
  86. environment variable.
  87.  
  88. WARNING:
  89.  
  90. if you have installed the Cygnus gnu-win32 package make sure that
  91. X:\USR\BIN appers in your %PATH% environment variable before any
  92. "...\H-i386-cygwin32\bin", otherwise when invoking gcc you will run
  93. the one which comes with the Cygnus distribution which does not
  94. include GNAT.
  95.  
  96.  
  97.  
  98.