Hello all,

I wrote:
> I'm having an unexpected linking error with code that has previously
> built without problem against earlier GSL versions.

This turns out to be a g++/autotools issue rather than GSL -- sorry for
the noise.

FWIW, the workaround I have found is to add

  CXXFLAGS="$CXXFLAGS -Wl,--no-as-needed"

to configure.ac (apparently since gcc 4.5 the --as-needed option has
been assumed by default and this is what's causing the linking issues).

I'm following up elsewhere, but if I discover a more elegant solution
than the above I'll post it here.

Thanks & best wishes,

    -- Joe


_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to