Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Alex Martelli
On Apr 22, 2006, at 4:06 PM, Daniel Lord wrote: ... > cc -arch ppc -arch i386 -Wl,-syslibroot,/Developer/SDKs/ > MacOSX10.4u.sdk -o static static.o -L. -lanswer ... > /usr/bin/ld: for architecture ppc > /usr/bin/ld: warning static.o cputype (7, architecture i386) does > not match cputyp

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Alex Martelli
On Apr 22, 2006, at 1:29 PM, Ronald Oussoren wrote: ... > On other platforms I'd say that gmp should be compiled with -fPIC > in the compiler flags. On OSX however this That's one of the things I tried (adding CFLAGS=-fPIC to the ./ configure invocation), uselessly. > should be the defaul

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Daniel Lord
On Apr 22, 2006, at 14:51, Alex Martelli wrote: > > On Apr 22, 2006, at 1:51 PM, Daniel Lord wrote: >... >> So the answer, IMHO and I could be wrong since I am very new to >> this, is one of two choices: >> 1) use 'ld' to produce two separate builds and then use 'lipo' to >> weld them tog

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Alex Martelli
On Apr 22, 2006, at 1:51 PM, Daniel Lord wrote: ... > So the answer, IMHO and I could be wrong since I am very new to > this, is one of two choices: > 1) use 'ld' to produce two separate builds and then use 'lipo' to > weld them together as a 'FAT' dylib or > 2) To use 'cc' to build the dy

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Daniel Lord
On Apr 22, 2006, at 12:36, Alex Martelli wrote: > It's not just gmpy, but anything that needs to be linked as - > bundle, whatever that means exactly. The workings of ld are > slightly arcane -- I did already ask for advice from colleagues who > I thought SHOULD know; for example, Matt Auste

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Ronald Oussoren
On 22-apr-2006, at 18:50, Alex Martelli wrote: > > Once this idiocy is solved, there is another problem: I STILL can't > link gmpy.so beause I can't make libgmp.a to build properly for > linkage into a -bundle. Specifically (with gmpy.sf.net's current CVS > contents): > > brain:~/alex/gmpy alex

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Alex Martelli
On Apr 22, 2006, at 11:23 AM, Daniel Lord wrote: ... >> Apple's assembly syntax is totally irrelevant here. The reason make >> check fails is Apple's creative *ld semantics*: an object file inside >> a library file is NOT brought in if the only symbols it satisfies are >> DATA ones. ... >

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Daniel Lord
On Apr 22, 2006, at 9:50, Alex Martelli wrote: > >> And GMP doesn't compile on Mac-tel and won't for some time: >> >> The current release is 4.2, released 2006-03-26. It fixes all bugs >> found in 4.1.4, as well as several portability problems. It also >> adds several new features. Note that we ch

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Alex Martelli
On Apr 22, 2006, at 10:01 AM, Charles Hartman wrote: > A new edition of the Nutshell? That is great news! That's the book > I go back to, out of a dozen I've got, most often. Updated for 2.5 > perhaps? Focused on 2.4 (and pointing out what 2.4 added to 2.3, so that by subtraction it should

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Charles Hartman
A new edition of the Nutshell? That is great news! That's the book I go back to, out of a dozen I've got, most often. Updated for 2.5 perhaps?Charles HartmanOn Apr 22, 2006, at 12:50 PM, Alex Martelli wrote:Then, I had the deadline for the 2nd ed of the Nutshell, then a   week's vacation at the Gra

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Alex Martelli
On Apr 22, 2006, at 1:59 AM, [EMAIL PROTECTED] wrote: > No arbitrary precison math on Mac-tel say it ain't so! It ain't so. > The analog of a single gene pool in nature has come to pass for > arbitrary precison math (APM) for OS X (native not Python). > GMP is 'it' for APM as far as I can t

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Bob Ippolito
On Apr 21, 2006, at 10:17 PM, Daniel Lord wrote: > The analog of a single gene pool in nature has come to pass for > arbitrary precison math (APM) for OS X (native not Python). > GMP is 'it' for APM as far as I can tell unless I want to write my > own. > And GMP doesn't compile on Mac-tel and

[Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-21 Thread Daniel Lord
The analog of a single gene pool in nature has come to pass for arbitrary precison math (APM) for OS X (native not Python).GMP is 'it' for APM as far as I can tell unless I want to write my own.And GMP doesn't compile on Mac-tel and won't for some time:The current release is 4.2, released 2006-03-2