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: Sun, 3 Jun 2001 06:26:44 +0100 (WEST) From: Joa~o Miguel Soares X-Sender: newted AT alfarrabio To: cygwin AT cygwin DOT com Subject: Creating a DLL Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 AT 12 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-cygwin/bin/ld: warning: cannot find entry symbol _libga_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 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 AT 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 AT 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