Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Richard Stanton" To: "Cygwin" Subject: Problem creating DLL file with gcc 2.95.2.9 Date: Tue, 27 Mar 2001 15:50:21 -0800 Message-ID: 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 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