#7851: libz igoresSAGE64 other than on OS X
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby    
       Type:  defect    |      Status:  needs_review
   Priority:  major     |   Milestone:  sage-4.3.1  
  Component:  porting   |    Keywords:              
Work_issues:            |      Author:  David Kirkby
   Upstream:  N/A       |    Reviewer:              
     Merged:            |  
------------------------+---------------------------------------------------
Changes (by newvalueoldvalue):

 * cc: jsp (added)
  * status:  new => needs_review
  * author:  => David Kirkby


Comment:

 With the recent updates to sage-env, this will actually build in 64-bit
 mode, as that will set CFLAGS appropriately. But there were some other
 issues with this package, so the following have been addressed.

  * Move -I $SAGE_LOCAL/include to CPPFLAGS, not CFLAGS
    There's no reason it should go there.
  * Removed most of the SAGE64 related stuff. The only bit
    remaining is to apply a patch on OS X in 64-bit mode.
  * Removed -Wall and -g from CFLAGS - the new sage-eve
    will add these automatically for gcc. Since they are
    GNU specific flags, they would break with other compilers.
  * Substituted -fPIC for $FPIC_FLAG as -fPIC is a GNU specfic
    option and sage-env defines FPIC_FLAG to be -fPIC for
    gcc, but other things for Sun Studio and other compilers from
    HP and IBM.

 An updated spkg can be found at

 
http://boxen.math.washington.edu/home/kirkby/portability/zlib-1.2.3.p6/zlib-1.2.3.p6.spkg

 other relevant files in
 http://boxen.math.washington.edu/home/kirkby/portability/zlib-1.2.3.p6/

 Dave

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