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,6080ce53a5dd5a0a X-Google-Attributes: gid103376,public From: corbin@cruzio.com (Corbin Dunn) Subject: Re: gnat ada95 compiler..help Date: 1997/03/02 Message-ID: <3318eafd.25461425@news.pr.erau.edu>#1/1 X-Deja-AN: 222454958 References: <5etvim$rr3@mtinsc05.worldnet.att.net> Organization: Embry-Riddle Aeronautical University, WEST Newsgroups: comp.lang.ada Date: 1997-03-02T00:00:00+00:00 List-Id: bill, are you using windows95 or 3.x? I had to add this path in my autoexec to get gnat to compile anything: rem gnat junk that i had to add echo off set PATH=C:\ADAGNAT\bin;%path% SET PATH=C:\ADAGNAT\GW-GNAT;%PATH%; set TMPDIR=C:\ADAGNAT\tmp set GO32TMP=C:\ADAGNAT\tmp set GO32=topline C:\ADAGNAT\drivers\vga.grd gw 640 gh 480 set DJGPP=C:\ADAGNAT\djgpp.env set ADA_INCLUDE_PATH=C:\ADAGNAT\adainc set ADA_OBJECTS_PATH=C:\ADAGNAT\lib\adalib set GW-GNAT=C:\ADAGNAT\gw-gnat rem end gnat junk to syntax check: gnat1 -gnatl yourfile.adb you must use the extention .adb to compile: gcc -c yourfile.adb to link: gnatbl yourfile.ali to run your program type (at the prompt): yourfile GOOD LUCK! On Tue, 25 Feb 97 06:11:34 GMT, rawlins2@marshall.edu (bill) wrote: >hi, >I am a relatively new ADA student as I am in my second semster of ADA >instruction however I have only used a commercial VMS based compiler to date >and I am having some trouble with basic usage of the gnat compiler I >downloaded tonight. I can't seem to compile anything..so I must be doing >something incredibly stupid.. so if anyone can tell me either a. where a good >reference for gnat syntax is or b. what to type just to compile, link, and >execute a program like the basic "hello world" i would be very appreciative. > >Thank you in advance >Bill Rawlinson > > ___ ___ > (/__) . /) /) (/__) http://webpages.marshall.edu/~rawlins2 > /__) (__(__(___ /\ __ /) . _ _ > ( ( \ (_/(_(_(_(__(__(_/\/_/_)__(_)_/\/______ > -- corbin@cruzio.com -- "640K ought to be enough memory for anybody" -Bill Gates, 1981