delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/10/09:42:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Thu, 10 Apr 2003 14:58:09 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: Lester Ingber <ingber AT ingber DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: -mno-cygwin and "undefined reference to `_impure_ptr'"?
In-Reply-To: <20030410131836.GA1480@ingber.com>
Message-ID: <Pine.LNX.4.44.0304101450270.17056-100000@localhost.localdomain>
MIME-Version: 1.0

On Thu, 10 Apr 2003, Lester Ingber wrote:
> Under ASA_DLL, a complaint still is made that it cannot find
> cygwin1.dll? 
Which means you still linked with the DLL. Did you do what Danny Smith 
told you to do (i.e. compile everything with -mno-cygwin) and are you 
*sure* that you're not linking in any other Cygwin-related libraries (most 
notably libcygwin.a, but you may be linking them in through something 
else). libg.a is an example of a symlink to libcygwin.a - you're not 
linking to that, are you?

Just run cygcheck on your DLL and see if it depends on cygwin1.dll. As 
long as that is the case, you're linking with something that needs Cygwin 
- find out what it is and get rid of it :)

You could always just download MinGW (from www.mingw.org) and try 
compiling in the MSYS environment. MSYS is a Cygwin fork but the mingw 
compiler doesn't stick in the cygwin dependencies by default.

HTH

rlc



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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