delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/27/19:03:13

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
From: "Richard Stanton" <stanton AT haas DOT berkeley DOT edu>
To: "Cygwin" <cygwin AT sources DOT redhat DOT 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
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

- Raw text -


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