comp.lang.ada
 help / color / mirror / Atom feed
From: Gandalf <Gandalf@empire.net>
Subject: Re: GNAT Compilation Problems
Date: 1996/10/08
Date: 1996-10-08T00:00:00+00:00	[thread overview]
Message-ID: <325AE88C.BC7@empire.net> (raw)
In-Reply-To: dewar.844782448@schonberg


Robert Dewar wrote:
> 
> Kevin asked
> 
> "What's the command to compile Ada programs from dos prompt with the gnat?"
> 
> Kevin, if you are using gnat, you must read gnatinfo.txt, which answers
> this and many other relevant questions.

While Robert is correct that gnatinfo.txt has some great information,
the command lines for compilation using gnat for DO$ is

gcc -c 'your_file_name_goes_here'


There are a miriad of other switches with which you can compile, best to
read the referenced readin material to get a grasp onn them all.  To
link your Ada program, you'll need to type

gnatbl 'filename'

where 'filename' should be substituted with the name of your main
program.  Again there are some switches you can use which are outlined
in the reference reading material.  Good luck, read the group often for
more useful information!




  reply	other threads:[~1996-10-08  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-20  0:00 GNAT Compilation Problems Nigel J. Tracey
1996-09-21  0:00 ` David C. Hoos, Sr.
1996-10-02  0:00   ` Kevin English
1996-10-08  0:00     ` Robert Dewar
1996-10-08  0:00       ` Gandalf [this message]
1996-10-09  0:00         ` Robert Dewar
1996-10-11  0:00           ` Michael Feldman
1996-09-21  0:00 ` David C. Hoos, Sr.
1996-09-21  0:00   ` Graffiti
1996-09-21  0:00   ` Graffiti
1996-09-22  0:00     ` Keith Thompson
1996-09-23  0:00 ` Simon Wright
1996-10-11  0:00 ` Michel Gauthier
1996-10-11  0:00   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1996-09-20  0:00 Nigel J. Tracey
1996-09-21  0:00 ` Robert Dewar
1996-09-21  0:00 ` Robert Dewar
replies disabled

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