comp.lang.ada
 help / color / mirror / Atom feed
* GNATing ada files with the wrong extensions.
@ 2001-08-22 19:00 Dale Pennington
  2001-08-22 20:08 ` Ted Dennison
  2001-08-22 23:20 ` Mark Johnson
  0 siblings, 2 replies; 3+ messages in thread
From: Dale Pennington @ 2001-08-22 19:00 UTC (permalink / raw)


This is for you GNAT gurus out there.

I have a set of files using the extension scheme of a different Ada compiler
(*.1.ada, *.2.ada), but I desire to build them with GNAT (In fact the folks
who delivered them to us make their final build with GNAT, just not for the
platform we are using). Now to get GNAT to work I can see 2 alternatives :

1) run all the source code through GNATCHOP (or just a big rename script) to
get the GNAT naming convention.

2) create a gnat.adc file and fill it with a zillion Source_File_Name
pragma's.

For reference I am using 3.13p at this time, and have read the docs. I was
kinda hoping that there was acutally a method to tell GNAT to treat .1.ada
as the same as .ads and .2.ada as the same as .adb.

Am I missing something obvious, or are 1 and 2 my only options (and if so,
has anyone generated a godd script to perform #2) ?

Thanks,

Dale Pennington





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-22 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-22 19:00 GNATing ada files with the wrong extensions Dale Pennington
2001-08-22 20:08 ` Ted Dennison
2001-08-22 23:20 ` Mark Johnson

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