On Tuesday, February 21, 2012 2:00:01 PM UTC-8, entropy wrote:
>
> John, 
>
> Just to confirm, did this build work for you on Lion 10.7.2, with 
> Xcode 4.3, and gcc version 4.2.1 (LLVM build 2336.9.00)? 


I'm using Lion 10.7.3, not 10.7.2. I agree with the gcc version:

$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 
5658) (LLVM build 2336.9.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ clang --version
Apple clang version 3.1 (tags/Apple/clang-318.0.45) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix

$ uname -a
Darwin Macintosh-001b639d44a1.local 11.3.0 Darwin Kernel Version 11.3.0: 
Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

(I get the same output, except for the machine name, on a desktop machine 
and on a laptop. For building sage-5.0.beta4-gcc.tar, with the previous 
version of Xcode, the desktop worked with either the default compiler or 
with clang, while with the laptop, I was only able to build using CC=clang 
and CXX=clang++.)
 

> From you 
> follow-up messages I am assuming that beta4-gcc still builds a copy of 
> gcc-4.6 on top of everything else, correct? 
>

Yes, absolutely. 


> I never was able to get clang to build sage on my Apple (10.7.2 with 
> Xcode 4.2). I was wondering if a few of you who were able to 
> successfully build sage on your Mac could chime in with your "uname - 
> a" as well as Xcode and gcc versions. I'm on 
>

With the same sage-5.0.beta4-gcc tarball, using CC=clang and CXX=clang++, 
gcc built just fine, and then it was used to build everything else.  I 
haven't had luck building a plain sage-5.0.beta4 tarball. 

-- 
John

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to