X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,J_CHICKENPOX_74,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BFAD95.4000709@gmail.com>
Date: Tue, 17 Mar 2009 14:03:01 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: {libtool/libltdl7}-2.2.7a-10
References: <89694.8915.qm@web25006.mail.ukl.yahoo.com>
In-Reply-To: <89694.8915.qm@web25006.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Marco Atzeri wrote:

> I found also a further problem. 
> In one case (hdf5) I found no way to build shared libs 
> as the libtool always had "build_libtool_libs=no"
> 
> as "extrema ratio" I added a
> sed -e "1,100s/^build_libtool_libs=no/build_libtool_libs=yes/" -i libtool
> 
> between cygconf and cygmake, and the build completed fine.
> 
> Reverting to libtool-2.2.6 solved this issue.

  I noticed that the output from 'file' has changed recently, e.g.:

/bin $ file -L /bin/ls.exe
/bin/ls.exe: MS-DOS executable PE  for MS Windows (console) Intel 80386 32-bit

  Maybe this will help?  Or perhaps something similar elsewhere.  Libtool uses
file in several ways to help it decide what it's going to build.


/bin $ diff -pu libtool.orig libtool
--- libtool.orig        2009-03-15 23:19:29.500000000 +0000
+++ libtool     2009-03-15 23:21:14.906250000 +0000
@@ -3273,6 +3273,7 @@ func_win32_libid ()
   *executable*) # but shell scripts are "executable" too...
     case $win32_fileres in
     *MS\ Windows\ PE\ Intel*)
+    *PE*\ *MS\ Windows\ *Intel*)
       win32_libid_type="x86 DLL"
       ;;
     esac
@_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/bin $

    cheers,
      DaveK



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

