How to Build DLLs on Cygwin

Dave Korn
Wed Jan 19 12:48:00 GMT 2005

> -----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...>

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list