delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/12/17:01:12

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
Date: Tue, 12 Nov 2002 17:00:59 -0500 (EST)
From: Garrett Banuk <mongoose AT magic DOT shiman DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Importing symbols from .exe's
Message-ID: <Pine.GSO.4.33.0211121644370.5111-100000@magic.shiman.com>
MIME-Version: 1.0

Hello. We are trying to build a library that references symbols from
an executable. How it works is the executable loads up and then loads the
dynamic library. The library can then implicitly reference symbols inside
the executable. This works fine under Linux and Solaris.

Under Cygwin I am having problems building this library. I get the error
"undefined reference to `XXX`" for all the symbols. The library has no
problem resolving symbols that are in other libraries, but fails on the
symbols in the executable.

So how do I build this library? The symbols can not be resolved until
runtime when the executable loads up the library. Thanks.


   Garrett Banuk
   Shiman Associates, Inc.


--
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/

- Raw text -


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