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 X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs Date: Thu, 10 Apr 2003 14:58:09 +0200 (CEST) From: Ronald Landheer-Cieslak X-X-Sender: ronald AT localhost DOT localdomain To: Lester Ingber 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/