#6595: 'modified sage library code' fails at c_lib if /opt/SUNWspro/bin/CC can 
be
found. (SCons issue)
--------------------------------------+-------------------------------------
 Reporter:  drkirkby                  |         Owner:  tbd       
     Type:  defect                    |        Status:  needs_work
 Priority:  blocker                   |     Milestone:  sage-4.3  
Component:  solaris                   |    Resolution:  fixed     
 Keywords:  scons SUNWspro SunStudio  |   Work_issues:            
   Author:  William Stein             |      Upstream:  N/A       
 Reviewer:  David Kirkby              |        Merged:            
--------------------------------------+-------------------------------------

Comment(by was):

 > That's very annoying, but one of those things I guess.
 > Perhaps this bit of code needs to be Solaris-specific.

 That's an excellent idea and would be easy to do.  Basically we just
 change
 {{{
 if os.environ['CC'].endswith('gcc'):
 }}}
 to
 {{{
 if os.uname()[0] == 'SunOS' and os.environ['CC'].endswith('gcc'):
 }}}
 and we're good to go.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6595#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to