Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: How to Build DLLs on Cygwin
Date: Wed, 19 Jan 2005 12:40:35 -0000
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <8c25f6300501182222ceee44e@mail.gmail.com>
Message-ID: <NUTMEGqm4bVS5IoWlZr0000129d@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 19 Jan 2005 12:40:35.0343 (UTC) FILETIME=[125AB9F0:01C4FE24]
Note-from-DJ: This may be spam

> -----Original Message-----
> From: cygwin-owner On Behalf Of Xuan Bai
> Sent: 19 January 2005 06:23

> Hello, my dear friend,
> 
> I want to build some DLLs on Cygwin.  I got to know how to build DLLs
> from one single source codes file with gcc -shared -o ......
> 
> However, the DLL I am planning to develop need to be built from
> several source code files.  Is there anywat I can build DLL by passing
> flags through configure?

  You can specify as many source code files on the command line as you like

gcc -shared -o my.dll file1.c file2.c file3.c <...etc...>



    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

