delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/24/06:11:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <03fa01c174d9$129a1e60$0a00a8c0@dragon>
From: "James A. Smith" <still-life AT ntlworld DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Dynamic library support
Date: Sat, 24 Nov 2001 11:13:40 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Hello,

I'm using the mircosoft functions: (LoadLibrary, GetProcAddress), to allow
me to have a modular "plugin" based system. Having not done much relocatable
code before, I'm not too sure how I go about linking my shared lib (dll)
under gcc.

I've read the FAQ's on the cygwin site, (before you moan at me to do so),
but I need to know how to export the libs used inside my main program, so
that plugins can use them also. I assume it will have something to do with
creating an export file from the .exe and linking it with the plugin? Or
possibly telling the linker to ignore unresolved externals, which would be
resolved by the dynamic linker at runtime? I dont know...

Could someone please enlighten me ;)
Thanks.

J.


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