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,df4d03300c9fdfca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-13 04:29:34 PST Path: supernews.google.com!sn-xit-02!supernews.com!wn4feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!193.114.91.187!not-for-mail From: "Michael Worsley" Newsgroups: comp.lang.ada Subject: Re: Gnat and CygWin Date: Wed, 13 Dec 2000 12:28:52 -0000 Message-ID: <917q3c$38shh$1@ID-65806.news.dfncis.de> References: NNTP-Posting-Host: 193.114.91.187 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 976710572 3437105 193.114.91.187 (16 [65806]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: supernews.google.com comp.lang.ada:3053 Date: 2000-12-13T12:28:52+00:00 List-Id: Brian Orpin wrote in message news:t6fe3tc7gggpcoet6basooae1a44qk8u4b@4ax.com... > I have Gnat and CygWin installed on my NT machine. > > Gnat works fine from the Dos prompt but not from the Bash shell. > > My suspicion is that they are picking up different GCC libs. > > I installed Gnat first then CygWin. > > Is it possible to get the 2 to co-exist and inter-operate? Quite possible, I use gnat on a regular basis from my bash shell. The problem is that CygWin's gcc doesn't know about Ada ("gcc.exe: language ada not recognized" may be familiar). The solution is to ensure that gnat/bin or gnatpro/bin occurs before /bin in your path variable. For example, my .bashrc contains the incantation "PATH=/c/gnatpro/bin:$PATH" which does the trick. Alternatively, editing cygwin.bat to say "SET PATH=C:\gnatpro\bin;f:\bin;f:\usr\local\bin;%PATH%" would do precisely the same. HTH -- Michael Worsley SPARK Development Team Praxis Critical Systems Ltd.