It would be really good to get this patch into Sage asap, as it allows one to build a very large part of the Sage library on OpenSolaris.

All it does, is adds these 4 lines a SCons configuration file


if env['PLATFORM'] != "darwin" and os.environ['SAGE64']=="yes":
    env.Append( CFLAGS="-O2 -g -m64" )
    env.Append( CXXFLAGS="-O2 -g -m64" )
    env.Append( LINKFLAGS="-m64" )



which adds the all important -m64 flag if SAGE64 is set to "yes" and the operating system is *not* OS X. The SAGE64 variable is used on OS X in another part of the script, but some other obscure flags are added, which I don't want to add on Solaris.

http://trac.sagemath.org/sage_trac/ticket/9097

It should be fairly obvious that this fix is very low risk, as it only has an effect if one uses SAGE64 on some operating system other than OS X, and so far it is only ever been used on OS X.


Dave



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