comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Compiling only specification with gcc (GNAT)
Date: 25 Jun 2002 19:59:42 +0100
Date: 2002-06-25T19:59:42+01:00	[thread overview]
Message-ID: <x7vfzzbchgh.fsf@pushface.org> (raw)
In-Reply-To: u1yawmk56.fsf@gsfc.nasa.gov

Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> writes:

> David Rasmussen <pinkfloydhomer@yahoo.com> writes:
> 
> > Is there a way to "compile" an .ads file only with gcc 3.1 ? I want an
> > error if it isn't valid, and ok if it's ok.
> 
> gcc foo.ads

   gcc -c foo.ads                     will fail if there should be a body
   gcc -c -gnats foo.ads              for just a syntax check

or even

   gnatmake -c foo.ads
   gnatmake -c -gnats foo.ads



      reply	other threads:[~2002-06-25 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24 19:17 Compiling only specification with gcc (GNAT) David Rasmussen
2002-06-24 21:39 ` Stephen Leake
2002-06-25 18:59   ` Simon Wright [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