public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* linking with vc-built dlls
@ 1997-12-15 14:28 Alexander Batanov
  0 siblings, 0 replies; only message in thread
From: Alexander Batanov @ 1997-12-15 14:28 UTC (permalink / raw)
  To: 'GNU-Win32@cygnus.com'; +Cc: 'batanov@ascinc.com'

Dear all,

Are there any special considerations for linking object files built with Cygnus g++ with dlls built with Visual C++?

Dll has a C interface, so when I do nm on .lib file I see symbols which are not decorated but prefixed with a single underscore (maybe this is a problem). Quikview on .dll file shows the same symbols without leading underscores, though.

I am integrating a gcc project with FlexLM license manager.
mylibrary.lib is in the working directory and mylibrary.dll is in /winnt/system32.
When I am trying to do this 

g++ mylibrary.lib myobjectfile.o -o myproject.exe

I am getting some "undefined refrence" errors:

undefined reference to `lp_checkout'.


Thanks,
Alex Batanov
Software Engineer
Alternative System Concepts, Inc.
22 Haverhill Rd
Windham, NH
03087-0128
(603) 437-2234
(603) 437-2722 fax
batanov@ascinc.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-15 14:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-15 14:28 linking with vc-built dlls Alexander Batanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).