Hello all, I am wondering what people think about the idea of adding a few more makefile targets to gsl:
make opt make opt_install These would compile the library with HAVE_INLINE and GSL_RANGE_CHECK_OFF and install the resulting library as "libgsl_opt.a" and "libgslcblas_opt.a" Also, make debug make debug_install These would compile the library with -g only (no optimization) and install the resulting library as libgsl_debug.a and libgslcblas_debug.a. This way, if the user wants they could have 3 copies of gsl simultaneously installed on their system and could choose which one to link against in their application. For example, it might be useful to develop your code with the standard gsl that has range checking but then switch quickly to libgsl_debug if you need to use valgrind on a difficult bug (its easier to use gdb and valgrind on -g only), and then switch to libgsl_opt when you're ready for production use, without having to recompile the library every time. Just throwing this out there as a suggestion :-). Patrick Alken
