#9097: c_lib in Sage library fails to build on OpenSolaris x64
----------------------------+-----------------------------------------------
   Reporter:  drkirkby      |       Owner:  drkirkby    
       Type:  defect        |      Status:  needs_review
   Priority:  major         |   Milestone:  sage-4.5    
  Component:  solaris       |    Keywords:              
     Author:  David Kirkby  |    Upstream:  N/A         
   Reviewer:                |      Merged:              
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by drkirkby):

 I'm attaching a log file which shows that this patch allows the build
 progress to go a long way. The log file for the build of the library
 {{{spkg/logs/sage-4.5.alpha1.log}}} is 958 KB in size, so clearly this
 gets a long way, where without the 4 lines

 {{{
 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" )
 }}}

 the build fails after only 40 lines or so.

 There are some remaining issues to resolve, but this patch, which is only
 implemented if SAGE64 is set to yes and the operating system is '''not'''
 OS X, goes a long way towards helping a 64-bit port to OpenSolaris.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9097#comment:2>
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