#13287: Override more compiler-related environment variables if Sage's GCC is
used
-----------------------+----------------------------------------------------
Reporter: leif | Owner: leif
Type: defect | Status: new
Priority: minor | Milestone: sage-5.3
Component: scripts | Keywords: GCC spkg CPP FC F77 F95 Fortran
compiler preprocessor sage-env
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------+----------------------------------------------------
Currently only `CC` and `CXX` get modified (in `spkg/bin/sage-env`) if
Sage's GCC spkg is installed (more precisely, if
`$SAGE_LOCAL/bin/{gcc,g++}` are present).
We should also set / override `CPP` and (at least) also various commonly-
used Fortran compiler variables to make sure the versions from ''Sage's''
GCC installation get used, since the user may have specified these, and
the build might break (due to mixing different compiler versions). (As an
example, building ECL currently fails if `$CPP` finds `ffi.h` although it
is not really installed system-wide, but rather only in e.g.
`/usr/lib/<ARCH>/<$CPP's version>/include/`; see [comment:ticket:13150:5]
ff.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13287>
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.