This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Problem creating DLL file with gcc 2.95.2.9
- To: "Cygwin" <cygwin at sources dot redhat dot com>
- Subject: Problem creating DLL file with gcc 2.95.2.9
- From: "Richard Stanton" <stanton at haas dot berkeley dot edu>
- Date: Tue, 27 Mar 2001 15:50:21 -0800
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