Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Dynamic library support Date: Sat, 24 Nov 2001 11:13:40 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/