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,7a27b8f727dd1e47 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!postnews1.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: GNAT and no runtime Date: 27 May 2004 02:40:26 -0700 Organization: http://groups.google.com Message-ID: <5ad0dd8a.0405270140.a4a26aa@posting.google.com> References: <5ad0dd8a.0405260252.6523893f@posting.google.com> <3519454.Bj6hR9Rpgt@linux1.krischik.com> NNTP-Posting-Host: 83.27.33.203 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1085650826 26579 127.0.0.1 (27 May 2004 09:40:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 27 May 2004 09:40:26 +0000 (UTC) Xref: controlnews3.google.com comp.lang.ada:876 Date: 2004-05-27T02:40:26-07:00 List-Id: Hello, > No chance. Even gnat name or gnat chop won't expand them. I've taken a look at gnatchop, and it would be relatively easy to make it expand them. gnatchop invokes gcc like this: wojtek@slooby:~/work/gnatchop/build> /usr/local/bin/gcc -c -x ada -gnats -gnatu ~/work/rts/adainclude/a-tasatt.adb Unit Ada.Task_Attributes (body) line 1, file offset 0, file name a-tasatt.adb sometimes wojtek@slooby:~/work/gnatchop/build> /usr/local/bin/gcc -c -x ada -gnats -gnatu ~/work/rts/adainclude/a-except.ads Configuration pragmas at line 1, file offset 0 Unit Ada.Exceptions (spec) line 39, file offset 2867, file name a-except.ads Filename can be derived from compilation unit name. > The short names are hard coded into gnat. Any package from Ada.* Interface.* > GNAT.* and System.* must use short name. Fortunately on some platforms there are hard/sym-links! :-) > A total pain in the ass. I've had too much. I am not yet sure what would be the cleanest way (a separate tool based on gnatchop, some new gnatchop options, something else). By the way, they fixed target dependent names: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ Is there any justification, other than tradition, for such cryptic names? Regards, Wojtek