delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/23/18:09:21

From: dgold AT brown DOT edu (Dan Goldwater)
Subject: how to build a dll that uses other dll's?
23 Aug 1997 18:09:21 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33FBCC2D.98CBE385.cygnus.gnu-win32@brown.edu>
Mime-Version: 1.0
X-Mailer: Mozilla 4.01 [en] (WinNT; U)
Original-To: gnu-win32 AT cygnus DOT com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi!
I am trying to build a DLL which has function calls which must be
resolved into existing win32 DLL's.

Following the instructions for building a relocatable dll, i get an
output but each of the three ld steps reports all the undefined
references for the functions which are in the existing win32 dll's.  i
had to add the --noinhibit-exec option to ld so that it wouldn't delete
the output dll due to the errors.

when i build this project on solaris, the linker doesn't complain about
the undefined references, and they are resolved to appropriate existing
..so files at runtime.

is there some option i need to give ld so it knows i want to resolve the
references at runtime to the existing dll's?  or am i clueless?

thanks!
--
---------------------------------------------------------------------
Dan Goldwater     dgold AT brown DOT edu
                  http://fatmac.ee.cornell.edu/~goldwada
---------------------------------------------------------------------


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019