This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem creating DLL file with gcc 2.95.2.9


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]