#11967: os x 10.7 Lion -- Sage segfaults on startup when initializing GiNaC
---------------------------------------+------------------------------------
Reporter: was | Owner: drkirkby
Type: defect | Status: closed
Priority: blocker | Milestone: sage-5.0
Component: porting | Resolution: fixed
Keywords: python osx lion darwin | Work_issues:
Upstream: N/A | Reviewer: Jeroen Demeyer
Author: John Palmieri | Merged: sage-5.0.beta4
Dependencies: |
---------------------------------------+------------------------------------
Comment(by drkirkby):
Replying to [comment:21 jdemeyer]:
> Replying to [comment:20 jhpalmieri]:
> > You're right, Sage always sets `$CC` to "gcc". So on tickets where
it's necessary, we should check whether `[ "$CC" = "gcc" ]`.
> I don't think we should '''ever''' do that. Check features, not
executable names.
The testcc.sh script in $SAGE_LOCAL/bin does exactly that - it tests
features. It can identify all the common C compilers, and some of the not-
so-common C compilers. There's also another script (I think testcxx.sh),
which does the same for C++ compilers. Doing this for Fortran compilers is
something I have never managed to work out.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11967#comment:29>
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.