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: <004401c1442e$93973830$0149a8c0@sknet01> From: "Stephen Dyke" To: "Robert Collins" , "cygwin" References: <3BAD12EA DOT 30290 DOT 3EA67560 AT localhost> <002c01c143ab$501470b0$0149a8c0 AT sknet01> <08f701c143f5$d8336560$0200a8c0 AT lifelesswks> Subject: Re: GetModuleHandleA AT 4 Date: Sun, 23 Sep 2001 13:52:14 +0100 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > > Yes I did make some modifications and > > looking to build a package for cygwin, > > that could simply the overly complex > > problem that is building a DLL. > > I'm a little confused here. What's so complex about gcc -o > foo.dll -shared foo.c ? > > Rob This is incorrect, the command you use does not create a relocation section, and has many problems with windows 95 and win98 first edition. furthermore, the dll would suffer from problems with maintaining static variables and threading. Stephen -- 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/