portability

P

puzzzzzzled

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?

Thanks
 
J

jacob navia

puzzzzzzled a écrit :
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?

Thanks

The code from the GSL is easily found in the GNU site.

They will want that you put your code under their license though, so
if you do not want that, you are stuck.
 
A

Al Balmer

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?
This is off topic here, but why not just get the source code?
http://www.gnu.org/software/gsl/
 
F

Flash Gordon

puzzzzzzled wrote, On 22/05/07 21:23:
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?

This is a question about the GSL not about C. GNU have a number of
mailing lists and there are a number of Linux groups, so I suggest you
them out to see where your question is topical since it is not topical here.
 
U

user923005

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?

Probably, you want:
or
or

An alternative to GSL that has a fair degree of the same functionality
is the Cephes collection by Moshier
http://www.moshier.net/#Cephes

However, I guess that you may have the same difficulties there.

What was the problem you had with portability?
 
M

Malcolm McLean

puzzzzzzled said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top