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 Date: Mon, 9 Apr 2001 14:38:01 +0100 (BST) From: Stephen Chan To: cygwin AT cygwin DOT com Subject: Creating DLLs Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I'm having trouble creating DLLs, and the stock example at: http://www.cygwin.com/cygwin-ug-net/dll.html doesn't work either :( I get the following error messages( gcc -s -Wl,--base-file,mydll.base -o mydll.dll mydll.o -Wl,-e,_mydll_init AT 12): /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-cygwin/bin/ld: warn ing: cannot find entry symbol _mydll_init AT 12; defaulting to 00401000 /usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference to `WinMain AT 16' collect2: ld returned 1 exit status Can anyone help? -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple