This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Compilation
- From: Yip Sai Fung <h0228923 at eee dot hku dot hk>
- To: gsl-discuss at sources dot redhat dot com
- Date: Fri, 16 Jul 2004 10:06:36 +0800
- Subject: Compilation
Hi!
For the compilation process, I worked like this:
1. gcc -Wall -I/usr/local/include -c filename.c
2. gcc -L/usr/local/lib filename.o -lgsl -lgslcblas -lm
3. export LD_LIBRARY_PATH=$LD_LIRARY_PATH:/usr/local/lib
Are there any faster way? I think it is a bit messy...