Mail Archives: cygwin/2003/04/10/05:58:14
From: Lester Ingber <ingber at ingber dot com>
To: cygwin at cygwin dot com
Date: Thu, 10 Apr 2003 02:03:38 -0400
> ...
> 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
> Creating library file: libasadll.dll.a
> asa.o(.text+0xede):asa.c: undefined reference to `_impure_ptr'
> ...
>
> Can anyone suggest what to do about "undefined reference to
> `_impure_ptr'"? I want to use these DLL's in another software package,
> without having to register (updated) copies of cygwin1.dll, etc.
Compile your objects (asa.o, etc ) with -mno-cygwin.
Danny
>
> Thanks.
>
> Lester
>
>
http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.
--
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/
- Raw text -