From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6f9ac64c5319a5d9,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-22 12:26:08 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!xyzzy!nntp From: "Dale Pennington" Subject: GNATing ada files with the wrong extensions. X-Nntp-Posting-Host: e264771.hv.boeing.com Message-ID: X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Priority: 3 X-Msmail-Priority: Normal Sender: nntp@news.boeing.com (Boeing NNTP News Access) Organization: The Boeing Company X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 Date: Wed, 22 Aug 2001 19:00:39 GMT Xref: archiver1.google.com comp.lang.ada:12280 Date: 2001-08-22T19:00:39+00:00 List-Id: 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