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]
Other format: [Raw text]

Re: -mno-cygwin and "undefined reference to `_impure_ptr'"?


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/


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