Patch file for OS X

Leif Leonhardy not.really at online.de
Thu May 16 23:31:10 CEST 2013


Marc Glisse wrote:
> On Thu, 16 May 2013, Simon Lazenby wrote:
>> Could you also alter your manual web page:
>> http://gmplib.org/manual/Known-Build-Problems.html#Known-Build-Problems
>>
>> from ...
>> "MacOS X (‘*-*-darwin*’)
>>     Libtool currently only knows how to create shared libraries on
>> MacOS X using the
>>     native cc (which is a modified GCC), not a plain GCC. A
>> static-only build should work though (‘--disable-shared’)."
>>
>> to ...
>> "MacOS X (‘*-*-darwin*’)
>>     If you are using a 32 bit version of MacOS X (10.5.8 or lower)
>> then you should ensure that you configure with:
>>     ./configure ABI=mode32
>> "

mode32 is only valid on PowerPCs (as opposed to Intel Macs), only 
necessary if you're running 32-bit MacOS X on a 64-bit PPC CPU, and 
MacOS X on PPC implies <= 10.5[.8] (Darwin 9 or earlier).

So that should probably read powerpc*-apple-darwin{8,9}* or similar, as 
an /additional/ entry.

(/GMP's/ config.guess doesn't return powerpc64-* but a more specific CPU 
type for a couple of 64-bit PowerPC CPUs, in contrast to FSF's 
config.guess, as far as I know.)


> You are probably one of the last dinosaurs with a ppc mac ;-)

He could install Linux on it...


-leif

-- 
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail


More information about the gmp-bugs mailing list