Hello, The func_win32_libid is not working correctly when win64 objects are found. The file format is "file format pe-x86-64".
The attached patches for 1.5.26, 2.2.6a for the resulting libtool script. I did not know where to put this in libtool source, can you please look into it? Thanks! Alon Bar-Lev --- --- libtool.1.5.26 2008-10-20 14:25:11.000000000 +0200 +++ libtool 2008-10-20 14:25:36.000000000 +0200 @@ -578,7 +578,7 @@ func_win32_libid () ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + $EGREP -e 'file format pe-i386(.*architecture: i386)?|file format pe-x86-64?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ $SED -n -e '1,100{ / I /{ --- --- libtool.2.2.6a 2008-10-20 14:21:57.000000000 +0200 +++ libtool 2008-10-20 14:21:42.000000000 +0200 @@ -3073,7 +3073,7 @@ func_win32_libid () ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + $EGREP 'file format pe-i386(.*architecture: i386)?|file format pe-x86-64?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | $SED -n -e ' 1,100{ _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool