Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <004401c1442e$93973830$0149a8c0@sknet01>
From: "Stephen Dyke" <sk.ml@btinternet.com>
To: "Robert Collins" <robert.collins@itdomain.com.au>,
        "cygwin" <cygwin@cygwin.com>
References: <3BAD12EA.30290.3EA67560@localhost> <002c01c143ab$501470b0$0149a8c0@sknet01> <08f701c143f5$d8336560$0200a8c0@lifelesswks>
Subject: Re: GetModuleHandleA@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/

