#13150: Create an optional GCC-4.7.1 package
-------------------------------------+--------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.3
Component: optional packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by leif):
Looks like we just have to extend the following part of `spkg/bin/sage-
env`:
{{{
...
# Override CC and CXX if the gcc spkg was installed.
if [ -x "$SAGE_LOCAL/bin/gcc" ]; then
CC=gcc
fi
if [ -x "$SAGE_LOCAL/bin/g++" ]; then
CXX=g++
fi
export CC CXX
}}}
I'm not sure how to handle Java, Objective C/C++ etc. if compilers for
these get also built by Sage's GCC spkg. (I only recall some Objective C
was used on MacOS X by some spkg[s].)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13150#comment:6>
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.