This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Creating DLLs
- To: cygwin at cygwin dot com
- Subject: Creating DLLs
- From: Stephen Chan <scyc at ecs dot soton dot ac dot uk>
- Date: Mon, 9 Apr 2001 14:38:01 +0100 (BST)
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@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@12; defaulting to 00401000
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined
reference to
`WinMain@16'
collect2: ld returned 1 exit status
Can anyone help?
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple