comp.lang.ada
 help / color / mirror / Atom feed
From: beidler@guinness.cs.uofs.edu (Jack Beidler)
Subject: Re: Installing GNAT 1.83 on DOS
Date: 21 Nov 1994 19:29:41 GMT
Date: 1994-11-21T19:29:41+00:00	[thread overview]
Message-ID: <3aqsf6$85p@gopher.cs.uofs.edu> (raw)
In-Reply-To: 3a99uq$jtc@news.bu.edu

In article <3a99uq$jtc@news.bu.edu>, pong@bu.edu (Apinetr Unakul) writes:
|> I'm a newbie trying to install a GNAT on DOS. I have problem binding 
|> even my first "hello world" program with the folloging message.
|> 
|> gnatbl hello.ali -o hello
          ^^^^^^^^^^^^
             reverse

|> Cannot find: s-stalib.ali
|> Error executing C:\LANG\DJGPP\BIN\gnatbind.exe
|> make.exe: *** [hello] Error 1
|> 
|> I can't find a "s-stalib.ali" anywhere. What am I doing wrong?
|> Please help or point me to something I can work on.
|> 
|> Thanx.
|> 
|> 
It looks to me like your "gnatbl" command is in error.  I've done the
following to make life easy for myself and my students by doing the
following:

I created three batch files that are placed in the c:\djgpp\bin
subdirectory

compile.bat contains
     gcc -c -gnatl %1 > output.lst

link.bat contains
   gnatbl -o %1 %1.ali

run.bat contains
   go32 %1

to help me and my students avoid typos and are easy to use if you
have doskey installed.  I've done the same thing
on the unix box for compiling and linking, c9x l9x.
-- 
+----------------------------------------+------------------------+
|John (Jack) Beidler                    ++   beidler@cs.uofs.edu  |
|  Professor, Computing Sciences Dept. ++                         |
|  University of Scranton             ++  (717) 941-7446 (voice)  |
| Scranton, PA 18510                 ++     (717) 941-4250 (FAX)  |
+------------------------------------+----------------------------+



      parent reply	other threads:[~1994-11-21 19:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-15  3:29 Installing GNAT 1.83 on DOS Apinetr Unakul
1994-11-15 17:27 ` Robert Dewar
1994-11-21 19:29 ` Jack Beidler [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox