"puzzzzzzled" <ge*********@gmail.comwrote in message
news:11**********************@x35g2000prf.googlegr oups.com...
>I used in my program several functions in GNU Scientific Library. I
have problem with portability.
Is there anyway that I can "fish" out those code in GNU library to
pack it with my code?
or what's the correct way for me to go, for somebody to be able to
compile my program without install GSL?
If you call a function from the GSL there is no way of compiling your
program without a copy of GSL present.
GSL is written to compile cleanly on "Unix-like systems". In practise that
almost certainly means that all the functions are in ANSI C. So on each
pltform you port to you have to either get a ready-compiled GSL library, or
play with the com;piler and GSL source code, which is freely available,
until it compiles. Then you ahve to fiddle about with the linker until it
links and produces an executable.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm