Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Richard Stanton" <stanton@haas.berkeley.edu>
To: "Cygwin" <cygwin@sources.redhat.com>
Subject: Problem creating DLL file with gcc 2.95.2.9
Date: Tue, 27 Mar 2001 15:50:21 -0800
Message-ID: <LNBBKMIKMNGEJNEJICPHGEFHEOAA.stanton@haas.berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Since upgrading to gcc 2.95.2.9 I've been having trouble creating DLL files
for use by MS Excel.

Here's the command I've used for a long time to create the DLL file from the
.o files (with list of .o and .a files abbreviated):

dllwrap -s -mno-cygwin --target=i386-mingw32 -o
xllname.xll --add-stdcall-alias <.o
files> -mwindows -L/c/projects/lib -lxlcall32 -l<other lib files>

The output from this command is:

dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
/usr/lib/gcc-lib/i686-pc-cygwin/gcc-2.95.2-9/../../../../i686-pc-cygwin/bin/
ld: cannot open dllcrt2.o: No such file or directory
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [rhs.xll] Error 1

The first two lines have always occurred, but the fatal error (starting
/usr/...) has only occurred since the latest gcc upgrade.

Has some environment variable changed with the upgrade?

Thanks for any suggestions.

Richard Stanton


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

