This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: libtool weirdness (was Re: Broken MPIR 2.6.0 on Cygwin64)
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 24 Jun 2013 10:19:23 -0500
- Subject: Re: libtool weirdness (was Re: Broken MPIR 2.6.0 on Cygwin64)
- References: <CAHhGz88vEgzz1i4sUjE0ugNzaf+j++r1_qT=Y6abMaB4_F=PCg at mail dot gmail dot com> <20130621083039 dot GH1620 at calimero dot vinschen dot de> <kq1694$ung$1 at ger dot gmane dot org> <20130621094344 dot GB25850 at calimero dot vinschen dot de> <20130621113357 dot GF25850 at calimero dot vinschen dot de> <51C49413 dot 2090708 at users dot sourceforge dot net> <20130624092053 dot GF14319 at calimero dot vinschen dot de> <20130624113110 dot GB4229 at calimero dot vinschen dot de>
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