We need to change flint in two ways: 1) Instead of disabling shared library on flint, set it up so that either static or shared can be selected, but not both. It should make its selection based on whether a shared/static library of mpir is available if the user hasn't selected.
2) Don't pass -fPIC anywhere when building a shared library on Cygwin or MinGW (obviously it is still needed elsewhere). Bill. On Wednesday, 4 July 2012 14:59:07 UTC+1, Jean-Pierre Flori wrote: > > > > On Wednesday, July 4, 2012 3:40:28 PM UTC+2, Volker Braun wrote: >> >> I've been thinking about this yesterday for some other reasons, and I >> think we should work towards getting rid of static libraries altogether. >> From a software distribution/maintenance/updating/testing point of view its >> really terrible to have static libraries floating about without knowing for >> sure which package statically links >> > I agree with that point of view. > As far as FLINT is concerned, the first thing I'll try on Cygwin it to > properly build a shared version of MPIR/MPFR/NTL/FLINT and then check > whether the NTL static linking bug is gone or not. > -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org