This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile example


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]