#11635: Ensure that libraries link to the shared version of NTL by default
----------------------------------------------------------+-----------------
Reporter: kcrisman | Owner: tbd
Type: defect | Status:
needs_review
Priority: minor | Milestone:
sage-5.6
Component: cygwin | Resolution:
Keywords: cygwin ntl libtool spkg | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Karl-Dieter Crisman, Jean-Pierre Flori | Merged in:
Dependencies: | Stopgaps:
----------------------------------------------------------+-----------------
Comment (by jpflori):
There is no need for soft links and/or copying files and/or renaming them.
Using libtool, the upstream build system install the following files on
Cygwin:
* lib/libntl.la (libtool magical file)
* lib/libntl.dll.a (import file for the dynamic library)
* lib/libntl.a (static archive)
* bin/cygntl.dll (dynamic library)
(some -<version> are surely missing here)
When using -lntl, ld will find first libntl.dll.a and in the end link to
the dynamic library cygntl.dll.
The only difference with linking directly to cygntl.dll (let's say by
specifying its path rather than just -lntl) is that the linking will be a
slower, but that's not really an issue, everything is already so slow on
Cygwin, I don't think the difference is noticeable.
On other systems the difference in file installed are minimal and will
surely go unnoticed and the shared library will still gets picked up
first.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11635#comment:60>
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.