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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-WM-Posted-At: MailAndNews.com; Tue, 25 Apr 00 09:57:16 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Cygwin 1.1.0: dllwrap bug Reply-to: cygwin AT sourceware DOT cygnus DOT com From: Vadim Egorov Date: 25 Apr 2000 17:57:08 +0400 Message-ID: Lines: 43 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hello, I came across a problem with dllwrap that comes with Cygwin 1.1.0 distribution. The problem is with the temporary file name generation Brief look into accompanying sources showed that libiberty/choose-temp.c uses \ as a dir separator which problem seems was fixed in other libiberty/choose-temp.c (cygwin itself for example). Here is the dllwrap output: dllwrap --export-all --driver-name=g++ --output-lib libtest.a -o testdll.dll -v testdll.o Warning: no export definition file provided dllwrap will create one, but may not be what you want dlltool -v --dllname testdll.dll --exclude-symbol=_cygwin_dll_entry AT 12 --export-all --exclude-symbol=_cygwin_dll_entry AT 12,DllMainCRTStartup AT 12,DllMain AT 12,DllEntryPoint AT 12 --output-def /tmp\cc009306.def testdll.o dlltool: Excluding symbol: _cygwin_dll_entry AT 12 dlltool: Excluding symbol: _cygwin_dll_entry AT 12 dlltool: Excluding symbol: DllMainCRTStartup AT 12 dlltool: Excluding symbol: DllMain AT 12 dlltool: Excluding symbol: DllEntryPoint AT 12 dlltool: Scanning object file testdll.o dlltool: Done reading testdll.o dlltool: Processing definitions dlltool: Processed definitions DLLTOOL name : dlltool DLLTOOL options : -v --dllname testdll.dll --exclude-symbol=_cygwin_dll_entry AT 12 --def /tmp\cc009306.def DRIVER name : g++ DRIVER options : -Wl,--dll -nostartfiles -o testdll.dll -Wl,-e,__cygwin_dll_entry AT 12 -Wl,--image-base,0x63780000 -v testdll.o g++ -Wl,--base-file,/tmp\cc009306.base -Wl,--dll -nostartfiles -o testdll.dll -Wl,-e,__cygwin_dll_entry AT 12 -Wl,--image-base,0x63780000 -v testdll.o Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs gcc version 2.95.2 19991024 (release) /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/collect2.exe -o testdll.dll -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2 -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/lib -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../.. --base-file /tmp\cc009306.base --dll -e __cygwin_dll_entry AT 12 --image-base 0x63780000 testdll.o -lstdc++ -lm -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/bin/ld.exe: Can't open base file /tmp\cc009306.base collect2: ld returned 1 exit status dllwrap: g++ exited with status 1 Deleting temporary base file /tmp\cc009306.base Deleting temporary def file /tmp\cc009306.def -- Regards, Vadim Egorov -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com