This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Creating DLLs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]