On 2009-Aug-06 21:11:14 +0100, "Dr. David Kirkby" <david.kir...@onetel.net> 
wrote:
>In theory, setting
>
>CC=/path/to/what/C/compiler/you/want
>CXX=/path/to/what/C++/compiler/you/want
>SAGE_FORTRAN=/path/to/what/Fortran/compiler/you/want
>
>should allow you to use any gcc.
>
>But in practice I don't think it will. I've tried doing this with the 
>Sun compiler, and find that some parts of Sage build with gcc even 
>though CC is specified as the Sun compiler. Hence some parts of Sage are 
>ignoring whatever CC is set to.

I haven't tried setting CC specifically but I've found some parts of
Sage ignore SAGE_FORTRAN (though other parts require it to be
present).  My work-around was to create symlinks for the specific
versions of gcc, g++ and gfortran in $SAGE_ROOT/local/bin.

-- 
Peter Jeremy

Attachment: pgpDWDWnMx8HL.pgp
Description: PGP signature

Reply via email to