#479: linbox-20070814.spkg abuses [CPP|CXX|C]FLAGS in spkg-install
------------------------+---------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: packages | Keywords: LinBox
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
Comment(by drkirkby):
linbox appears to have several errors.
* #7058
* -m64 (a GNUism in itself) hard coded on only OS X, so it will not
build 64-bit with Solaris.
* The issues you mention here.
* The fact -fPIC is a GNU specific flag.
I'm a bit reluctant to go around editing any more spkg-install files,
until we have in place a better system for dealing with the 64-bit issues
which is not dependent on a particular platform or compiler. This spkg-
install makes the assumption the only compiler is gcc (not true) and the
only operating system on which one might want to force a 64-bit build is
OS X (again not true). It was rather short-sighted the way this SAGE64
issue was handled.
Once there is a way of handling this better, I'll revise this. #7505 is
needing review and will allow the compiler to be determined. Later I will
add an updated version of sage-env, which will set the flags globally. But
it needs #7505 to be integrated first.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/479#comment:5>
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.