Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Message-Id: <6.2.0.14.0.20050317151950.03c3e6d0@pop.prospeed.net> Date: Thu, 17 Mar 2005 15:31:39 -0500 To: Bob Rossi , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: dll version mismatch In-Reply-To: <20050317202432.GD28845@white> References: <20050317202432 DOT GD28845 AT white> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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. >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/