From: John Howard <jhoward@sky.net>
To: flower@ms31.sp.trw.com
Subject: Re: Can't use my ".ada" files with Gnat 3.09?
Date: 1997/07/18
Date: 1997-07-18T00:00:00+00:00 [thread overview]
Message-ID: <Pine.GSO.3.96.970718045914.15476A-100000@sky.net> (raw)
In-Reply-To: wn90z5z6u0.fsf@ms31.sp.trw.com
> gcc -c -g temp.ada
> temp.ada:4:11: warning: file name does not match unit name, should be
> "temp.adb"
Simply rename temp.ada to temp.adb and type "gnatmake temp".
GNAT defaults expect an extension "ads" for specification and "adb" for
body. You have two options: either rename your programs to match the
defaults, or use a compiler directive to change the defaults. GNAT has
documentation. Additional documentation is found with the distribution of
gcc.
-- John Howard <jhoward@sky.net> -- Team Ada Team OS/2 --
next parent reply other threads:[~1997-07-18 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <wn90z5z6u0.fsf@ms31.sp.trw.com>
1997-07-18 0:00 ` John Howard [this message]
1997-07-19 0:00 ` Can't use my ".ada" files with Gnat 3.09? Robert Dewar
[not found] ` <wnu3ho10fs.fsf@ms31.sp.trw.com>
1997-07-22 0:00 ` Gautier
1997-07-22 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