This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: set_new_handler


--- Sven Wastlund <Sven.Wastlund@epkadm.epk.ericsson.se> wrote:
> I am porting a program from UNIX to NT which uses the function
> set_new_handler and I linked it with libgcc.a but I still got the error:
> 
> undefined reference to set_new_handler
> 
> Is there any other library I can use?

To find out where an undefined function might reside do the following:

cd <path_to_libs>
nm --demangle --defined-only --print-file-name lib*.a | grep <missing function>

If you come up empty then it's not supported, otherwise add the appropriate
library to the build.
===
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd@yahoo.com               --
----------------------ooo0O--O0ooo----------------------

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com