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!
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to