[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] How To Reduce Size of GNU Included Routines
From: |
Bob Smith |
Subject: |
[Help-gsl] How To Reduce Size of GNU Included Routines |
Date: |
Mon, 11 Jun 2007 00:25:18 -0500 |
User-agent: |
Thunderbird 2.0.0.0 (Windows/20070326) |
On a Windows platform, I'm using GSL 1.8 on storage type "double"
arguments exclusively, calling routines in two modules:
#include "gsl/gsl_sf_gamma.h"
#include "gsl/gsl_sf_result.h"
#include "gsl/gsl_errno.h"
gsl_sf_gamma_e
and in the other
#include "gsl/gsl_matrix_double.h"
#include "gsl/gsl_permutation.h"
#include "gsl/gsl_linalg.h"
gsl_matrix_alloc
gsl_vector_alloc
gsl_linalg_SV_decomp
gsl_vector_free
gsl_matrix_free
gsl_linalg_SV_solve
using libgsl.a and libgslcblas.a to obtain the relevant code.
When I look in the .map file, I find references to routines whose name
references many other storage types bound into the executable, such as
routines whose names start with "_gsl_vector_complex_..." as well as
another series of the form "_gsl_vector_long_double_...",
"..._float_...", "...ulong_...", "..._long_...", "..._uint_...",
"..._int_...", "..._short_...", "..._ushort_...", etc.
As my use of this library is with "double" arguments only, I'm
assuming that most of the above named routines are not called (maybe
I'm wrong about that?). If they aren't called, how can I declare my
use of GSL (config.h?) to limit the routines bound into the executable
to just the ones it uses?
--
_______________________________________________________________
Bob Smith - address@hidden - http://www.sudleyplace.com
- [Help-gsl] How To Reduce Size of GNU Included Routines,
Bob Smith <=