On Tue, Aug 7, 2012 at 7:22 PM, Jean-Pierre Flori <jpflori@gmail.com> wrote:
Still working on building Sage on Cygwin, we realized that the
produced ECL shared library built on Cygwin is called ecl.dll.
While this should not be problematic, we also have another file called
ecl.dll in Sage which builds the interface between Sage and the former
ecl.dll, and which should be linked to the it.

Hmm, how is this ECL's fault? I mean, Sage's use of ECL is second to the development of ECL itself :-)
 
My point here is that if ECL would follow the naming scheme proposed
by Cygwin (as libtool does for example):
http://cygwin.com/cygwin-ug-net/dll.html#dll-build
this would have the fortunate consequence to make the Sage problem disappear.
I've proposed such a patch on Sage Trac in ticket #9167
(http://trac.sagemath.org/sage_trac/ticket/9167) (it also tweaks the
build system on MinGW to follow http://www.mingw.org/wiki/sampleDLL).
If you think this makes sense, I can post a patch on ECL sourceforge page.

Feel free to do so, but you will have to make sure you fix the fact that ECL is currently NOT using import libraries in any of the ports (cygwin, mingw, msvc)

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain) 
http://juanjose.garciaripoll.googlepages.com