473,385 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

portability

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

May 22 '07 #1
5 1607
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.

May 22 '07 #2
On 22 May 2007 13:23:51 -0700, puzzzzzzled <ge*********@gmail.com>
wrote:
>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/

--
Al Balmer
Sun City, AZ
May 22 '07 #3
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.
--
Flash Gordon
May 22 '07 #4
On May 22, 1:23 pm, puzzzzzzled <generalu...@gmail.comwrote:
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:
news:gnu.misc
or
news:gnu.utils
or
news:sci.math.num-analysis

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?

May 23 '07 #5

"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
May 23 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Tim Tyler | last post by:
I just ported one of the apps I wrote using PHP 5 under Windows to PHP 4 under unix. I knew I wanted to deploy in this environment - and wrote my code in anticipation of running in the other...
7
by: fabio de francesco | last post by:
Hi, I'm not a professional programmer, but I've been writing C/C++ and Ada programs for a few years on GNU/Linux without ever concerning on standards and portability to other OSs. I've always...
21
by: asm | last post by:
Hi All, Like typdef, does C have further support for portability? Thanks, ASM
93
by: roman ziak | last post by:
I just read couple articles on this group and it keeps amazing me how the portability is used as strong argument for language cleanliness. In my opinion, porting the program (so you just take the...
93
by: jacob navia | last post by:
In this group there is a bunch of people that call themselves 'regulars' that insist in something called "portability". Portability for them means the least common denominator. Write your code...
239
by: Eigenvector | last post by:
My question is more generic, but it involves what I consider ANSI standard C and portability. I happen to be a system admin for multiple platforms and as such a lot of the applications that my...
10
by: Lionel B | last post by:
Greetings, I have some code that is to read unformatted data from disc and interpret it as blocks of unsigned integers. In an attempt to achieve efficiency (it is pretty essential for my...
18
by: jacob navia | last post by:
One of the holy cows here is this "portability" stuff. In practice, portability means: 1) Use the least common denominator of all the supported systems. 2) Between usability / good user...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.