delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/17/15:40:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.0.14.0.20050317151950.03c3e6d0@pop.prospeed.net>
Date: Thu, 17 Mar 2005 15:31:39 -0500
To: Bob Rossi <bob AT brasko DOT net>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: dll version mismatch
In-Reply-To: <20050317202432.GD28845@white>
References: <20050317202432 DOT GD28845 AT white>
Mime-Version: 1.0

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.
>   [bar AT bar-nt /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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019