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] |
Danny: Thanks. That did it. Lester +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= * From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz> * To: ingber at ingber dot com * Cc: cygwin at cygwin dot com * Date: Thu, 10 Apr 2003 19:57:44 +1000 (EST) * Subject: Re -mno-cygwin and "undefined reference to `_impure_ptr'"? 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 -- Prof. Lester Ingber ingber at ingber dot com ingber at alumni dot caltech dot edu www.ingber.com www.alumni.caltech.edu/~ingber -- 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] |