This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: global data in DLL's


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]