libtool
[Top][All Lists]
Advanced

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

Re: mingw win64 comatibility


From: Alon Bar-Lev
Subject: Re: mingw win64 comatibility
Date: Thu, 13 Nov 2008 11:45:23 +0200
User-agent: KMail/1.9.9

On Wednesday 12 November 2008, Ralf Wildenhues wrote:
> Hallo Alon,

> verify that this command fails:
>   make check-local TESTSUITEFLAGS='-v -d -x -k AC_WITH_LTDL'
> 
> and post the output, then find out where exactly the failure happens
> during configure:
>   cd tests/testsuite.dir/42
>   ./configure --prefix=/nowhere
> 
> You may have to look at the output, and/or config.log.
> Do you have the ECHO, RM, environment variables set?

I tried with clean checkout, BTW: make maintainer-clean does not work.

Following is the patch I use... I don't know if the old-m4-iface.at is correct. 
But it solved at least one issue.

I also don't know which test should be skipped. Now only the following tests 
fails:
 32: sys_lib_search_path                            testsuite: WARNING: A 
failure happened in a test group before any test could be
testsuite: WARNING: run. This means that test suite is improperly designed.  
Please
testsuite: WARNING: report this failure to <address@hidden>.
 ok

Attached the complete log.

Alon.

BTW: I've written a simple script to build the win64 toolchain [1], I use 
binutils cvs head, gcc-4.3.2 and mingw-w64 [2] tunk.

[1] svn checkout https://www.opensc-project.org/svn/build/trunk/mingw64
[2] svn checkout https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk 
mingw64/sources/mingw-w64

---

diff --git a/.gitignore b/.gitignore
index cacff4e..ce7833e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@
 *.toc
 *.tp
 *.vr
+*.exe
 +build
 +dest
 +inst
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index db0ea67..d64194b 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2156,7 +2156,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{
diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at
index 3365a2a..246751f 100644
--- a/tests/old-m4-iface.at
+++ b/tests/old-m4-iface.at
@@ -153,6 +153,6 @@ address@hidden@: address@hidden@ module.la 
libltdl/libltdlc.la
 LT_AT_BOOTSTRAP([--ltdl --install], [-I libltdl/m4], [ignore], [ignore],
        [--force])
 
-LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore])
+LT_AT_EXEC_CHECK([./ltdldemo$EXEEXT], 0, [ignore])
 
 AT_CLEANUP

Attachment: testsuite.log.gz
Description: GNU Zip compressed data


reply via email to

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