libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mingw win64 comatibility


From: Alon Bar-Lev
Subject: mingw win64 comatibility
Date: Mon, 20 Oct 2008 15:19:50 +0200
User-agent: KMail/1.9.9

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{




reply via email to

[Prev in Thread] Current Thread [Next in Thread]