Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Thu, 10 Apr 2003 12:14:05 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: Lester Ingber <ingber@ingber.com>
cc: cygwin@cygwin.com
Subject: Re: -mno-cygwin and "undefined reference to `_impure_ptr'"?
In-Reply-To: <20030410060338.GA344@ingber.com>
Message-ID: <Pine.LNX.4.44.0304101208180.17056-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 10 Apr 2003, Lester Ingber wrote:
[snip]
> gcc -shared -mno-cygwin -o asadll.dll -Wl,--out-implib=libasadll.dll.a
> -Wl,--export-all-symbols -Wl,--export-dynamic -Wl,--add-stdcall-alias
> -Wl,--enable-auto-import -Wl,--whole-archive asa.o asa_usr.o
> asa_usr_cst.o -Wl,--no-whole-archive -lm
                                       ^^^
See if this is not something linked with Cygwin 

[snip]

AFAIK, there is no libm.a in the MinGW pack, so the libm.a you're pulling 
in links you to something linked to Cygwin.. you'll have to get rid of it.

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/

