From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7523c7ee1b099445,start X-Google-Attributes: gid103376,public From: terence@agt.net Subject: Problem Running Gnat On Windows 95 Date: 1996/02/24 Message-ID: <4gmf7b$hqi@tigger.planet.eon.net>#1/1 X-Deja-AN: 140880213 organization: Public Live Access Network (PLAnet) newsgroups: comp.lang.ada Date: 1996-02-24T00:00:00+00:00 List-Id: I am new to programming, and wish to learn to program in Ada. I reciently downloaded the Windows 95 version of Gnat, and am having some troubles getting it to work properly. When I try to compile the simple "Hello World" program that comes in the examples directory with the software, by typing "gcc -c hello.adb" I get the following response: GCC.EXE: hello.adb: No such file or directory. When I try adding the path to the command by typing "gcc -c c:\gnat301a\examples\hello.adb" I get the following response: c:\gnat301a\examples\hello.adb(1) : 06: "Gnat.Io (spec)" is not a language defined unit compilation abandoned. I get relatively the same response when trying to compile other example programs. I have run the setpath.bat, although I believe that this could have something to do with the problem, as when it is run it gives each of the commands as follows: C:\gnat301a>set ADA_INCLUDE_PATH=\ADAINCLUDE OUT OF ENVIRONMENT SPACE etc, etc, etc, with each command line being followed with the Out of environment space message. I have tried running the setpath.bat in various ways and once in a while can get it to run the first couple of parimeters without the Out of environment space message, but the later ones always have it. I am kind of impatient to get started into this type of programming, and any help would be greatly appriciated. Thanx. terence@agt.net