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,6ff2dff25d72cbf3 X-Google-Attributes: gid103376,public From: Al Christians Subject: Re: Is there an installation guide for Windows GNAT? Date: 2000/09/28 Message-ID: <39D421A9.B95FACE4@easystreet.com>#1/1 X-Deja-AN: 675400113 Content-Transfer-Encoding: 7bit References: <39D384E4.E01FF21E@visteon.com> <8r0btb$o10$1@nnrp1.deja.com> <39D416E7.81FA45B5@CORECOMM.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com Organization: Trillium Resources Corporation MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-09-28T00:00:00+00:00 List-Id: Here is something to check vs what I have (pure guesswork by me): as.exe is in my \Gnat\Bin directory. I think that it is installed there by the gnat installer. \Gnat\Bin is included in the path in the 'system variables' part of the control panel..system..environment screen. I assume this was also set by the gnat installer. Because it is in the 'system variables' settings, I also think that you need to have administrator privileges during the install or the path won't get set. IDK what happens if you wind up with a different as.exe on your path ahead of the as.exe in the gnat\bin directory. I've also got cygwin on my machine, but I use a batch file to set up the cygwin environment when I want to use the gcc that comes with cygwin instead of the one that comes from gnat. Al John Kern wrote: > > No, I'd rather have the command line version (call me an old timer > defense programmer), but I will take the pretty colors. On a fresh > install to a different computer, when I open cmd.exe and put the bin > directory in the path, and I go to the examples directory and enter the > command: > gcc -c hello.adb > I get the message: > gcc: installation problem, cannot exec `as': Invalid argument > > gcc --version > tho, returns > 2.8.1 > > The command: > make > (after trying to run /bin/rm -f *.o ...) > reports among other things > make (e=3): The system cannot find the path specified > > gnatmake > reports a dizzying list of options > > gnatmake hello > reports the invalid argument to as > > as --version > reports the FSF info and the target of `i386-pc-cygwin32' > > Any of this make any sense? > > Thanks > > Ted Dennison wrote: > > > > In article <39D384E4.E01FF21E@visteon.com>, > > jkern3@visteon.com wrote: > > > I can't convince myself that I have (the student version of) GNAT for > > > windows installed correctly. Is the compiler meant to be simply a > > > command line program from the DOS prompt? Are there any environment > > > variables or PATH settings needed? I can't seem to compile the > > > examples programs. AdaGide doesn't seem to be the answer (how do you > > > > What happens when you try it from the DOS prompt? Is it not finding > > "gnatmake", or failing during some step of the compile? Or is it > > working, but you'd rather have a GUI? > > > > -- > > T.E.D. > > > > http://www.telepath.com/~dennison/Ted/TED.html > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy.