At 03:24 PM 3/17/2005, you wrote:
>Hi,
>
>I looked around and couldn't find this info anywhere, sorry in advance if 
>it's a simple question.
>
>I am using GNAT GDB on windows. Apparently it was built with cygwin.
>   [EMAIL PROTECTED] /cygdrive/c/GNAT] $ cygcheck 'C:\GNAT\bin\gdb.exe'
>   C:/GNAT/bin/gdb.exe
>     C:/GNAT/bin\cyggnat.dll
>       C:\WINDOWS\system32\KERNEL32.dll
>         C:\WINDOWS\system32\ntdll.dll
>     C:\WINDOWS\system32\USER32.dll
>       C:\WINDOWS\system32\GDI32.dll
>
>cyggnat.dll must be there cygwin1.dll linked in and renamed. 

<snip>


>Does anyone know how I can run this program without problems on cygwin?



Well, this is really a question for the GNAT people, since it's their
product.  I can offer these suggestions if you're not inclined to discuss
this with GNAT folks:

  1. Rebuild GNAT gdb changing the dependency to cygwin1.dll.

  2. Remove cyggnat.dll.  Binary edit the GNAT gdb executable changing the 
     references from 'cyggnat.dll' to 'cygwin1.dll'.  Don't add or subtract
     any spaces here!  Make sure 'X:/cygwin/bin' is always in your path then.

If either of these options causes your machine to explode or the sky to fall,
you have my sympathy but discussing it on this list would be considered 
off-topic.  Your best bet really is to have the GNAT folks help you resolve 
this problem.  Honestly, their approach to using Cygwin is not recommended,
which is a major reason the discussion of this issue is off-topic here.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to