comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Using GNAT with SunAda?
Date: 1996/03/16
Date: 1996-03-16T00:00:00+00:00	[thread overview]
Message-ID: <dewar.827032188@schonberg> (raw)
In-Reply-To: 4iaor8$lnk@s-cwis.unomaha.edu

Louis Winter asks

"I am one of many programmers using a SunAda compiler for the project
I am working on.  With many people on the project it is hard to share
one license.  We have been investigating the use of GNAT to help our
situation.  Does anybody know of a way to get GNAT to compile files
that do not have extensions of .ads and .adb?  Our files all have a
.a extension.  We are working under SunOS 4.1.3."

THere is no way to compile files directly that have a .a extension (GCC
uses the extension to dermine what language the file is in, GNAT is called
only for Ada files, which have an extension of .ada .ads or .adb (for .ada
you have to use the Source_File_Name_Praga). Unfortunately, .a standardly
is used for archive files.

You could use gnatchop all the time, compiling into a temprary directory.
You will want to use the -r switch on gnatchop if you do this, so that
error messages refer back to the original .a file.





       reply	other threads:[~1996-03-16  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4iaor8$lnk@s-cwis.unomaha.edu>
1996-03-16  0:00 ` Robert Dewar [this message]
1996-03-18  0:00   ` Using GNAT with SunAda? Rolf Ebert
1996-03-18  0:00 ` Samuel Tardieu
1996-03-18  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