On 2012-02-15 03:10, John H Palmieri wrote:
> Why would it switch over to gcc?  Wouldn't this use clang for any spkg
> which respects the CC environment variable, regardless of the presence
> of SAGE_ROOT/local/bin/gcc?
Currently, I set up #12369 such that it always uses gcc if the GCC spkg
has been installed (it overrides CC and CXX).  I did this mainly
because, once you built GCC, you would want to use it.  But I also
wanted people to be able to specify a different compiler for GCC and its
prerequisites.

So:

CC=clang CXX=clang++ make

should use clang for GCC and its prerequisites and then switch to GCC
for the rest of the build.

-- 
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