From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: egcs@cygnus.com Cc: cygwin@sourceware.cygnus.com Subject: Re: Can I create a DLL with g++? Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <199903132155.PAA01288@modi.xraylith.wisc.edu> References: <36EA94C928A.789BKENTARO-HAYASHI@bea.hi-ho.ne.jp> X-SW-Source: 1999-03n/msg00400.html Message-ID: <19990331194500.XiH0DeBo3jhyrPTSgeKYralQab9VUMMv56x237ZSuKU@z> =?ISO-2022-JP?B?GyRCTlMbKEIgGyRCN3JCQE86GyhCIA==?= writes: > > I just started to use cygwin development tools. > I appreciate the developers provided these tools working well. > But I have a question about DLL, how can I create a DLL > with g++? How to use the DLL which consists of c++ objects from > main program. See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ and scan for "How to make DLLs using EGCS". I've just updated my dllhelpers package to version 0.2.5 that provides examples for C, C++ and F77 DLLs (sorry, not ObjC yet). Be warned however that the design of MS DLLs makes it extremely hard to create DLLs from C++ code in some cases (especially when you're using exceptions, RTTI and a few other recent C++ features in a DLL). For most "normal" code, it should work just fine. Cygwin runtime itself is a C++ DLL. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com