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,27e56580ae0c3b7d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-24 04:45:43 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!dimensional.com!pulsar.dimensional.com!newshub1.wanet.net!uunet!sac.uu.net!ash.uu.net!lore.csc.com!baen1673807.greenlnk.net!baen1673807!not-for-mail From: chris.m.moore@amsjv.com (Chris M. Moore) Newsgroups: comp.lang.ada Subject: Re: GNAT for Debian Date: Thu, 24 Jul 2003 11:44:43 GMT Organization: Alenia Marconi Systems Message-ID: <3f1fc2d7.100025238@news.greenlnk.net> References: <404ee0af.0307211056.15324da@posting.google.com> <20030722021229.15da08ae.david@realityrift.com> <20030722135518.32888aaa.david@realityrift.com> <20030722165245.15f880a2.david@realityrift.com> <20030723125549.1336a07f.david@realityrift.com> <20030723134949.7badd43c.david@realityrift.com> <3f1f9c07.90089321@news.greenlnk.net> NNTP-Posting-Host: 20.44.240.2 X-Trace: lore.csc.com 1059047131 2083 20.44.240.2 (24 Jul 2003 11:45:31 GMT) X-Complaints-To: abuse@news.csc.com NNTP-Posting-Date: Thu, 24 Jul 2003 11:45:31 +0000 (UTC) X-Newsreader: Forte Free Agent 1.11/32.235 X-Original-NNTP-Posting-Host: 10.8.4.213 X-Original-Trace: 24 Jul 2003 12:42:47 +0100, 10.8.4.213 Xref: archiver1.google.com comp.lang.ada:40758 Date: 2003-07-24T11:44:43+00:00 List-Id: On Thu, 24 Jul 2003 09:13:01 +0000 (UTC), Preben Randhol wrote: >Chris M. Moore wrote: >> Instead of doing these edits etc might it not be better to build gnat >> as gcc but install it in a separate directory (/opt/gnat?) and put >> Simon Wright's gnatfe script (see http://www.pushface.org/gnatfe/) in >> /usr/bin? > >No! > >It is much better to have gnatgcc gnatmake etc! Then it makes everything >work without any hickup or tricky setup. But this script provides gnatgcc, gnatmake etc. /usr/bin/gnatgcc and /usr/bin/gnatmake would both be symbolic links to the gnatfe script. This script magically transforms gnatgcc to gcc and gnatmake to gnatmake but using the versions in the alternate directory. Surely it's better to do this outside of gnat rather than doing a global edit on the source. -- Chris M. Moore Software engineer speaking for myself