From: SourceForge.net <no...@so...> - 2006-11-27 18:10:36
|
Bugs item #1603005, was opened at 2006-11-26 17:58 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1603005&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tim Mayberry (timbyr) >Assigned to: Danny Smith (dannysmith) Summary: dlltool from binutils-2.17.50-20060824-1.tar.gz is broken Initial Comment: Trying to create an import library as described on this page: http://www.mingw.org/MinGWiki/index.php/CreateImportLibraries does not work for me with the dlltool distributed in the binutils package version mentioned in the summary(2.17.50-20060824-1) $ dlltool --input-def libxml2.def --output-lib libxml2.a C:\msys\1.0\mingw\bin\dlltool.exe: CreateProcess $ ls -sh libxml2.a 0 libxml2.a Replacing dlltool with the version distributed in the binutils package binutils-2.15.91-20040904-1.tar.gz works as I would expect. $ dlltool --input-def libxml2.def --output-lib libxml2.a $ ls -sh libxml2.a 603k libxml2.a ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2006-11-28 07:10 Message: Logged In: YES user_id=11494 Originator: NO My bad, short options should not b followed by '=', The commnad I should have asked about is dlltool -S <explicit-full-DOS-path-to-as.exe> --input-def libxml2.def --output-lib libxml2.a The one with the '=' will always fail. Danny ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2006-11-28 01:34 Message: Logged In: YES user_id=15438 Originator: NO Could you attach the libxml2.def file? Then we might know the contents that cause the problem. ---------------------------------------------------------------------- Comment By: Tim Mayberry (timbyr) Date: 2006-11-27 16:28 Message: Logged In: YES user_id=1367343 Originator: YES Using cmd.exe >set PATH=C:\msys\1.0\mingw\bin;%PATH% >set PATH Path=C:\msys\1.0\mingw\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ATI Technologies\ATI.ACE\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH >dlltool -S=C:\msys\1.0\mingw\bin\as.exe --input-def libxml2.def --output-lib libxml2.a dlltool: CreateProcess So it appears to give the same error. In case it helps here is a list of packages I have installed, let me know if there is any other information about my environment I can provide that may help. MSYS-1.0.10.exe msysDTK-1.0.1.exe msys-autoconf-2.59.tar.bz2 msys-libtool-1.5.tar.bz2 binutils-2.17.50-20060824-1.tar.gz gcc-core-3.4.5-20060117-1.tar.gz gcc-g++-3.4.5-20060117-1.tar.gz mingw-runtime-3.11.tar.gz mingw-utils-0.3.tar.gz mingw32-make-3.81-1.tar.gz w32api-3.8.tar.gz ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2006-11-26 20:20 Message: Logged In: YES user_id=11494 Originator: NO That version works for me. The "CreateProcess" error message suggest that libiberty function pex_win32_exec_child is having trouble spawning as.exe. Does it work from native cmd shell? What does dlltool -S=<explicit-full-DOS-path-to-as.exe> --input-def libxml2.def --output-lib libxml2.a say? Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1603005&group_id=2435 |