Justin C. Walker on Sun, 02 Mar 2008 19:08:29 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Q re Mac Leopard OS |
On Mar 2, 2008, at 02:24 , Bill Allombert wrote:
On Sat, Mar 01, 2008 at 02:46:59PM -0800, Justin C. Walker wrote:On Mar 1, 2008, at 01:30 , Bill Allombert wrote:On Fri, Feb 29, 2008 at 10:27:27AM -0700, Kurt Foster wrote:http://gmplib.org/macos.htmlwhich basically says the Xcode C compiler won't compile gmp properly.What I want to know is, (a) Is that caution out of date? (b) If not, what do I have to do to work around the problem?As far as I understand, you should install gcc from upstream source and use it to build gmp, instead of using xcode gcc.Really? I build gmp without problems on Mac OS X, both 10.4.11 and 10.5.2. I am using the gcc supplied with Xcode 2.5 (build 5370) in 10.4 and 3.0 (build 5465) in 10.5. In addition, gmp builds with "native" gcc in Sage (<http:// www.sagemath.org>) on these systems. The Sage build does apply a couple of patches (Mac OS X 10.5 and some versions of Linux, and for some processors), but when I build gmp stand-alone, I just "configure" and "make".Did you run make check ?
Replying to both you and to Kurt: yes, for my stand-alone builds. All tests passed.
If this comes as a surprise, I will re-run the build to make sure I'm not remembering how it used to be...
Justin -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds ----------- I'm beginning to like the cut of his jibberish. -----------