• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GMP 4.2 broken on G5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GMP 4.2 broken on G5


  • Subject: Re: GMP 4.2 broken on G5
  • From: email@hidden (Jack Howarth)
  • Date: Wed, 26 Apr 2006 17:39:09 -0400 (EDT)

David,
    I'll try a fink build tonight with the gcc 4.1 branch instead of Apple's
gcc from Xcode 2.2.1. I sample the gcc 4.1 branch weekly and build my own
fink packages. Oh, the fink gmp maintainer came up with the following
packaging for gmp 4.2 which works fine on a G4....

Package: gmp
Version: 4.2
Revision: 1001
GCC: 4.0
Source: gnu
Source-MD5: 7e2bcee8fcf536b98af813f5f18ad912
Depends: gmp-shlibs (= %v-%r), libgmpxx4-shlibs (= %v-%r)
BuildDepends: fink (>= 0.9.9), gcc4.0 (>= 4.0.1-1)
ConfigureParams: --infodir='${prefix}/share/info' --enable-cxx
CompileScript: <<
#! /bin/sh -ev
# Due to assembler differences on darwin x86 with ELF based gnu assemblers
# we need to "turn off" assembley on the Intel build for now.
case "%m" in
i386) ./configure --host=none-apple-darwin %c ;;
powerpc) ./configure %c ;;
esac
make
make check
<<
InstallScript: <<
 make install prefix=%i
 ranlib %i/lib/libgmp.a
 ranlib %i/lib/libgmpxx.a
<<
DocFiles: COPYING COPYING.LIB README
InfoDocs: gmp.info
BuildDependsOnly: True
SplitOff: <<
  Package: %N-shlibs
  Replaces: gmp (<< 4.0.1-1)
  Files: lib/libgmp.*.dylib
  Shlibs: <<
    %p/lib/libgmp.3.dylib 7.0.0 %n (>= 4.1-10)
  <<
  Description: Shared library for gmp package
  DocFiles: doc/* AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README
<<
SplitOff2: <<
  Package: libgmpxx4-shlibs
  Replaces: gmp (<< 4.0.1-1), gmp-shlibs (<< 4.1.4-1)
  Files: lib/libgmpxx.*.dylib
  Shlibs: <<
    %p/lib/libgmpxx.3.dylib 4.0.0 %n (>= 4.1.4-1)
  <<
  Description: Shared C++ library for gmp package
  DocFiles: doc/* AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README
<<
License: LGPL
Description: GNU multiple precision arithmetic library
DescDetail: <<
 GNU MP is a portable library written in C for arbitrary precision
 arithmetic on integers, rational numbers, and floating-point numbers.
<<
DescPort: <<
 Patch from Ben Hines to build libgmpxx, as of vers. 4.1-2.  As of vers.
 4.1.4-1, libgmpxx gets its own splitoff.

 Although the upstream maintainer advises compiling with gcc 3.3, we
 compile here with gcc 4.0.1.  All tests pass, and the gcc 3.3 compiler
 is not available to us.

 Instead of building with --enable-mpfr, we now suggest using the libmpfr1
 package.
<<
Maintainer: Dave Morrison <email@hidden>
Homepage: http://www.swox.com/gmp/

I'll let you know if I find out anything else.
                         Jack
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: GMP 4.2 broken on G5
  • Next by Date: Re: GMP 4.2 broken on G5
  • Previous by thread: Re: GMP 4.2 broken on G5
  • Next by thread: Re: GMP 4.2 broken on G5
  • Index(es):
    • Date
    • Thread