This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
Re: No libgsl.a in version 0.5 under OSF1
Hi again,
OK, I've attached a gzipped diff made against the gsl CVS that puts
together a single libgsl.so. Apply the diff against a working copy of
gsl, create a top-level dummy.c file (this should go into CVS):
% cd gsl
% echo 'static const char *version = "gsl-0.5";' > dummy.c
and then build as usual. Worked for me, and a little test program
linked against the resulting libgsl.so succeeded in doing some numerical
integration as expected. Not exactly an exhaustive test, I realize. I
added `static' to the declaration of a handful of routines that seem to
be used only internally (otherwise there are multiply defined external
symbols). And I added a simple conditional to configure.in to choose
whether libgslcblas.so or libgslnative.so gets pulled into the final
libgsl.so.
There are much better programmers out there than me, so it'd be nice to
get some feedback on this from a few extra pairs of eyes. If there
aren't any serious problems with it, I'd love to see it applied to the
repo.
Enjoy,
Dave
--
David Morrison Brookhaven National Laboratory phone: 631-344-5840
Physics Department, Bldg 510 C fax: 631-344-3253
Upton, NY 11973-5000 email: dave@bnl.gov
gsl.diff.gz