From: "Michael Worsley" <mjw@praxis-cs.co.uk>
Subject: Re: Gnat and CygWin
Date: Wed, 13 Dec 2000 12:28:52 -0000
Date: 2000-12-13T12:28:52+00:00 [thread overview]
Message-ID: <917q3c$38shh$1@ID-65806.news.dfncis.de> (raw)
In-Reply-To: t6fe3tc7gggpcoet6basooae1a44qk8u4b@4ax.com
Brian Orpin <abuse@borpin.co.uk> 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.
next prev parent reply other threads:[~2000-12-13 12:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-13 9:11 Gnat and CygWin Brian Orpin
2000-12-13 12:24 ` Jeff Creem
2000-12-13 12:28 ` Michael Worsley [this message]
2000-12-13 14:36 ` Ted Dennison
2000-12-13 15:35 ` Robert Dewar
2000-12-13 15:56 ` Jeff Creem
2000-12-13 19:28 ` Robert Dewar
2000-12-13 16:05 ` Pascal Sartoretti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox