Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <20011015203220.86755.qmail@web14509.mail.yahoo.com>
Date: Tue, 16 Oct 2001 06:32:20 +1000 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001@yahoo.co.nz>
Subject: Re: global data in DLL's
To: Roger Wells <ROGER.K.WELLS@saic.com>, cygwin@cygwin.com
In-Reply-To: <00ea01c15575$a91d7860$f05a798b@mtg.saic.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 --- Roger Wells <ROGER.K.WELLS@saic.com> wrote: > Up until gcc 2.95.2
global data needed to be redefined as:   global ->
> (*__imp_global) or (*_imp__global)
> as of 2.95.3 it seems that only (*_imp__global) works.
> Can this be overridden?  Can it be reversed?  I have lots of build
> scripts
> that depend on the former definition.  These all need to be modified in
> order to migrate the 2.95.3
>

Have you tried the --compat-implib option?

  --compat-implib     Create backward compatible import libs;
                      create __imp_<SYMBOL> as well.


Danny




http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.

--
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/

