This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: patch for gsl-1.6: building shared libraries on cygwin/mingw
Brian Gough wrote:
> +libgsl_la_LIBADD = $(SUBLIBS) cblas/libgslcblas.la
It seems like this line would force the libgslcblas library to be part
of the main libgsl (so it wouldn't be possible to replace it at
runtime with ATLAS for example).
It does a result - on cygwin/mingw - in a dependency on (not inclusion
of) the cblas dll of the gsl dll.
To link to a shared (dll) version of atlas one would have
to compile that first and then specify that either through the LIBS
variable or with _LIBADD, so the gsl dll would be dependent on the atlas
dll. I think the dependency would have to be resolved at link time anyway.
Teun