comp.lang.ada
 help / color / mirror / Atom feed
From: dewarr@my-dejanews.com
Subject: Re: Filename for packages?
Date: 1998/10/05
Date: 1998-10-05T00:00:00+00:00	[thread overview]
Message-ID: <6v9f67$bs2$1@nnrp1.dejanews.com> (raw)
In-Reply-To: F0B04u.L04.0.-s@inmet.camb.inmet.com

In article <F0B04u.L04.0.-s@inmet.camb.inmet.com>,
  stt@houdini.camb.inmet.com (Tucker Taft) wrote:
> Renwick Preston (rpreston@phoenix.net) wrote:
>
> : I just started looking into Ada and I'm unsure how to name my files. Should
the package
> : specification filename end with a .ads and the body a .adb?
>
> This is not standardized across Ada compilers.  Here are some
> conventions that different compilers use:
>
>    GNAT        spec = *.ads, body = *.adb
>    Rational    spec = *.1.ada, body = *.2.ada
>    VADS        spec = *_.a, body = *.a
>    Aonix       any of the above are OK; another is:
>                  spec = *.spc, body = *.bdy
>    Green Hills <same as Aonix>
>
> Given the easy availability of GNAT, I suspect that *.ads/*.adb is the
> most widely used convention at this point.
>
> : ... I can't find that information
> : in the book Ada 95... by Feldman.
>
> It's not standardized at the language level.  Probably *.ads/*.adb is
> the safest choice these days.
>
> : Thanks,
> : Ren


Note that GNAT has mechanisms for handling arbitrary file names. Those listed
above are simply the default names. For information on how to deal with naming
of files in GNAT, consult the secret archives (namely the section in the
GNAT documentation, obscurely titled "Default File Names" :-)


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1998-10-05  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-04  0:00 Filename for packages? Renwick Preston
1998-10-04  0:00 ` Chris Morgan
1998-10-04  0:00 ` Tucker Taft
1998-10-05  0:00   ` dewarr [this message]
1998-10-05  0:00     ` Peter Hermann
1998-10-05  0:00       ` dennison
1998-10-05  0:00       ` dewarr
1998-10-05  0:00         ` Gautier.DeMontmollin
1998-10-05  0:00           ` dewar
1998-10-05  0:00             ` Jerry van Dijk
1998-10-05  0:00             ` Michael F Brenner
1998-10-05  0:00         ` Markus Kuhn
1998-10-05  0:00 ` dennison
1998-10-05  0:00 ` dewarr
replies disabled

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