help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Re: Help-gsl Digest, Vol 35, Issue 6


From: Paulo Jabardo
Subject: [Help-gsl] Re: Help-gsl Digest, Vol 35, Issue 6
Date: Sat, 16 Sep 2006 18:52:47 -0300 (ART)

I think you are having trouble using the gcc compiler. Just do something like 
> man gcc
 in the cygwin environment.

To compile with different output use the -o switch (where you can specify the 
name of the program):

>gcc -L/usr/local/lib gibbs.o -lgsl -lgslcblas -lm -o gibbs.exe

I don't understand what you mean by "see the output". If that is plotting a 
graph, GSL doesn't have graphing capabilities. You should use some other 
package. Write the output to a file and use gnuplot or a spreadsheet program to 
visualize the results.


Paulo Jabardo

 Hello there--

Let me confess I'm novice in using GSL. I'm using Cygwin to run a C program
using GSL library. I ran the program gibbs.c and created an object file
using the command

gcc -Wall -I/usr/local/include -c gibbs.c

and the object file gibbs.o was created. For linking I used the command

gcc -L/usr/local/lib gibbs.o -lgsl -lgslcblas -lm

which made  a.exe  file.

Now I want to see the output (probably using .exe file)  and can you please
help me what I need to do ? Also if I want to name .exe file (not a.exe as
default) differently then whaich command do I need to use ?

I look forward to hearing from you ASAP.

Thank you, Joy.



                
---------------------------------
 Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]