#13325: eclib does not build on Cygwin
------------------------------------------------------------+---------------
Reporter: jpflori | Owner:
tbd
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-5.3
Component: cygwin | Resolution:
Keywords: eclib spkg cygwin | Work issues:
Report Upstream: Workaround found; Bug reported upstream. | Reviewers:
Authors: Jean-Pierre Flori | Merged in:
Dependencies: #13333 | Stopgaps:
------------------------------------------------------------+---------------
Comment (by cremona):
I want to make sure that understand the changes that you made so I can
make them "upstream" and hence avoid any patching. I realise that this
will mean a new version of the spkg: when I am done the eclib version
will be bumped up to 2012-08-21 (assuming that I finish today) so the next
spkg can have a new name instead of a patch level.
From the Changelog in SPKG.txt:
{{{
+ * #13325: let eclib build on Cygwin.
+ * Put -lgmp after -lntl and -lpari in configure.ac.
+ * Add $(EXEEXT) to the targets in tests/Makefile.am.
+ * Add '-no-undefined' flag to libjc.la LDFLAGS so that a shared library
+ is built on Cygwin.
+ * automake and autoconf were run to regenerate the configure script and
+ Makefiles.
}}}
1. will no longer be necessary. These flags are now set i nthe various
Makefile.am using the macros LIBADD and LDADD, and I did put gmp last.
2. $(EXEEXT). I assume that this is set on cygwin (to ".exe" or
something) but not otherwise, so (apart from cluttering up the Makefiles)
there will be no effect on other systems? You say that this is done in
src/tests, but should it also be done in src/progs? The latter builds
some binaries which are actually installed (e.g. mwrank).
3. '-no-indefined' OK I can add that too. By the way, the library name is
now libec and not libjc.
4. OK, so I'm a bit uncertain as to which auto* files to actually include.
When I change configure.ac or any Makefile.am files I run autoreconf. I
never touch or look at configure or the actual Makefiles.
So I will now deal with points 2 and 3 and hand back to you, if that is
OK.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13325#comment:27>
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.