#16105: Stop linking everything to libntl
-------------------------------------------------+-------------------------
Reporter: darij | Owner:
Type: defect | Status: closed
Priority: blocker | Milestone: sage-6.2
Component: build | Resolution: fixed
Keywords: ntl, crash | Merged in:
Authors: Jeroen Demeyer | Reviewers: Volker
Report Upstream: N/A | Braun
Branch: | Work issues:
2770a55d98ddb44edb113207e00c502baf30acb6 | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Comment (by jdemeyer):
Replying to [comment:37 fbissey]:
> So I will take a serious look at this because I want to clean as little
as possible. Jeroen, is there a reason why you are inconsistent in
removing stdc++ in extension that are marked "language = c++".
I am consistent, but just in a different way: I only removed `stdc++` if
it appears at the end of the list of libraries, because the order matters.
In theory, it could be that a build breaks by changing `-lstdc++ -lmylib
-lstdc++` to `-lmylib -lstdc++`, but changing `-lmylib -lstdc++ -lstdc++`
to `-lmylib -lstdc++` is always safe.
> I am presuming that stdc++ is always brought in by the c++ compiler.
Yes, if `g++` is used instead of `gcc`. I'm not entirely sure this is
always the case.
--
Ticket URL: <http://trac.sagemath.org/ticket/16105#comment:39>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.