delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/03/01:36:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <newted AT alfarrabio DOT um DOT geira DOT pt>
X-Sender: newted AT alfarrabio
To: cygwin AT cygwin DOT com
Subject: Creating a DLL
Message-ID: <Pine.LNX.4.10.10106030620001.19807-100000@alfarrabio>
MIME-Version: 1.0

	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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019