I'm trying to create a DLL but it keep's to give me errors... i believe that there is something missing on my CYGWIN. The error goes: C:\cygwin\proj\LIBGA>g++ -s -Wl,--base-file,libga.base -o libga.dll libga.a -Wl,-e,_libga_init@12 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-cygwin/bin/ld: warning: cannot find entry symbol _libga_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 C:\cygwin\proj\LIBGA>dlltool --base-file libga.base --def libga.def --output-exp libga.exp --dllname libga.dll /cygdrive/c/PROGRA~1/CYGWIN/BIN/DLLTOOL: Can't open def file: libga.def C:\cygwin\proj\LIBGA>g++ -s -Wl,--base-file,libga.base,libga.exp -o libga.dll libga.a -Wl,-e,_libga_init@12 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-cygwin/bin/ld: cannot open libga.exp: No such file or directory collect2: ld returned 1 exit status C:\cygwin\proj\LIBGA>dlltool --base-file libga.base --def libga.def --output-exp libga.exp --dllname libga.dll /cygdrive/c/PROGRA~1/CYGWIN/BIN/DLLTOOL: Can't open def file: libga.def C:\cygwin\proj\LIBGA>g++ -Wl,libga.exp -o libga.dll libga.a -Wl,-e,_libga_init@12 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-cygwin/bin/ld: cannot open libga.exp: No such file or directory collect2: ld returned 1 exit status C:\cygwin\proj\LIBGA> -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple