[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Using gsl under MinGW gcc
From: |
Yingfu Xie |
Subject: |
[Help-gsl] Using gsl under MinGW gcc |
Date: |
Tue, 25 May 2004 15:23:35 +0200 |
Hello, gsl-helpers,
I got a problem using GNU scientific library gsl under MinGW gcc. I test
some example programs (for polynomial and matrices) in gsl's manual. I
compiled and ran it quite easily with cygwin gcc (my gsl library is
installed into cygwin defaultly). And I also succeeded in compiling and
linking it under MinGW gcc compiler, specifying the headfile path and
library path, and got the a.exe. However, when I executed it, forever
silence waited for me...
My gsl is 1.4-2, and installed together with CYGWIN_NT5.0 (with gcc 3.3.1,
cygming special). And my MinGW gcc is 3.2.3(mingw special 20030504-1). All
of them are installed into default directory, namely, the gsl header files
are in /usr/include/gsl, and libraries are in /lib. I compiled the matrix
example program with MinGW
gcc -c test.c -I"c:\cygwin\usr\include"
gcc test.o -L"c:\cygwin\lib" -lgsl -lgslcblas -lm
No errors at all. I compiled with cygwin gcc all the same except not
specifying the directories and the output is also as the manual.
Have I done anything wrong? Thank you very much for your help!
Best regards,
Yingfu
###########################################
This message has been scanned by F-Secure
Anti-Virus for Microsoft Exchange.
###########################################
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-gsl] Using gsl under MinGW gcc,
Yingfu Xie <=