X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=EaVIk2+hLhnonj1AK6lP78dZ0alVppNjBwPc3JNZo//
	inYC+mv82A2pnC5vjoUbI6J7d5ngIs15sxCpCVlZ7OMzu7MEpSOwzLrSRmyccZgS
	X8i9ndcS5e7iYLn0ly9UR9gjkEvFCaeQSwpw93fqv+9oWN0LHE6zrz0WAnv3IlvY
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=XUAfx+20tnXcQc3fQqQb3BHCST8=; b=CqQsVnY7MmXdG+dUv
	14CnJzyi7HyJLvxy2nxnC9JOmOw/af3a7qYmSbKRYrMGBP/AfEeYVYvvdaBdg185
	FL1vL1/A+mmB7udB7lCW4hiOzdqBFVT6yjJSgRfg987Vb4mk0WVQvcOoOv5Y6PkJ
	0e3rTuOPm2vBAKP1m6oFRkMCCw=
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
X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_YG autolearn=ham version=3.3.1
X-Received: by 10.60.68.66 with SMTP id u2mr10976372oet.82.1372087162560;        Mon, 24 Jun 2013 08:19:22 -0700 (PDT)
Message-ID: <51C8637B.4090101@users.sourceforge.net>
Date: Mon, 24 Jun 2013 10:19:23 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: libtool weirdness (was Re: Broken MPIR 2.6.0 on Cygwin64)
References: <CAHhGz88vEgzz1i4sUjE0ugNzaf+j++r1_qT=Y6abMaB4_F=PCg@mail.gmail.com> <20130621083039.GH1620@calimero.vinschen.de> <kq1694$ung$1@ger.gmane.org> <20130621094344.GB25850@calimero.vinschen.de> <20130621113357.GF25850@calimero.vinschen.de> <51C49413.2090708@users.sourceforge.net> <20130624092053.GF14319@calimero.vinschen.de> <20130624113110.GB4229@calimero.vinschen.de>
In-Reply-To: <20130624113110.GB4229@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 2013-06-24 06:31, Corinna Vinschen wrote:
> This seem to have been a problem with the assembler files, but I can't
> reproduce it if I use the right settings.  With this cygport file:
>
>    NAME="mpir"
>    VERSION="2.6.0"
>    RELEASE=1
>    CATEGORY="Math"
>    SUMMARY="MPIR"
>    DESCRIPTION="MPIR"
>    SRC_URI="http://www.mpir.org/${P}.tar.bz2"
>
> and with this patch to configure.in:
[snip]
> the package is built completely.  11 out of 48 tests segfault, but that
> has nothing to do with ld and, as such, has been left as an excercise
> for the reader.  I'm pretty sure it has something to do with the LLP64
> vs LP64 difference between mingw and Cygwin 64 bit toolchain.

I concur.

> There's also still the problem that the DLL is installed into usr/lib
> rather than usr/bin and that it's using the "lib" prefix rather than
> the "cyg" prefix, but I'm sure this is fixable as well.

Ah, you also need to configure with --enable-cxx, otherwise the 
AC_PROG_CXX needs to be moved outside the conditional; do either of 
those, and the DLL will be built named correctly.


Yaakov


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

