www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Andrej Falout <afalout AT xtra DOT co DOT nz> |
Subject: | Problem linking a dll that uses symbols defined in executable |
Date: | Sat, 12 Oct 2002 19:38:38 +1300 |
Lines: | 28 |
Message-ID: | <MPG.18128a97d98e5f4c98969e@news.gmane.org> |
NNTP-Posting-Host: | 210-86-52-5.jetstart.xtra.co.nz |
X-Trace: | main.gmane.org 1034469670 16499 210.86.52.5 (13 Oct 2002 00:41:10 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Sun, 13 Oct 2002 00:41:10 +0000 (UTC) |
X-Newsreader: | MicroPlanet Gravity v2.60 |
Hello *, I have a program (executable), that uses two types of DLL libraries: 1) one that is linked with executable, as -l on gcc command line 2) several dll's that are loaded from 1) using dlopen() Problem: Some dll's of type 2 use functions/variables that are defined in the EXECUTABLE. When I try to link this type of dll's, I get bunch of undefined symbols, as expected. What one would do in this case, if referenced symbols where in another shared library (dll), is to link against that dll's export library (.dll.a) But they are in EXECUTABLE, meaning that I cannot make a export library... Can somebody please point me in right direction? Much appreciated, -- Yours, Andrej Falout, http://www.falout.com/disclaimer.html Visit the OpenSource alternative, Aubit 4gl: http://aubit4gl.sourceforge.net PLEASE NOTE: All HTML email sent to me WILL BE DELETED AUTOMATICALLY WITHOUT READING. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |