This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: compile example
- From: Dirk Eddelbuettel <edd at debian dot org>
- To: Achim Gaedke <achim at zpr dot uni-koeln dot de>
- Cc: gsl discussion list <gsl-discuss at sources dot redhat dot com>
- Date: Tue, 19 Mar 2002 20:16:39 -0600
- Subject: Re: compile example
- References: <Pine.GSO.3.95.1020318133410.3359C-100000@Sparcy02>
On Mon, Mar 18, 2002 at 01:36:09PM +0100, Achim Gaedke wrote:
> Maybe we should give an example for compiling a simple gsl program in
> usage.texi . Here comes a patch
>
> RCS file: /cvs/gsl/gsl/doc/usage.texi,v
> retrieving revision 1.32
> diff -r1.32 usage.texi
> 63a64,68
> > So the compile command for a GNU c compiler is
> > @example
> > gcc -I/usr/local/include -c app.c
> > @example
> > and results in @file{app.o}.
Shouldn't it use 'gsl-config --cflags' instead of a hard-wired
-I/usr/local/include?
Dirk
--
Good judgement comes from experience; experience comes from bad judgement.
-- Fred Brooks