help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Problems with #include options in GSL


From: Martin Jansche
Subject: Re: [Help-gsl] Problems with #include options in GSL
Date: Tue, 22 Nov 2005 14:07:50 -0500

On 11/22/05, Joseph Wakeling <address@hidden> wrote:

> The error message produced in that case is: gsl/gsl_sf_bessel.h: No such
> file or directory.  I get a similar message when, e.g., I try to compile
> the ran1.c random number generator, although this also fails to find the
> config.h header.

I see. It looks like you didn't run the configure script. The config.h
file should be created during configuration, and the links to the
include files should be set up in the early stages of the build
process.

> Note that I deliberately *don't* want to just compile to object form the
> whole GSL.

Why not?  Nothing would stop you from running "CC=my-cc ./configure
--prefix=/usr/local/stow/gsl_my-cc ; make ; make install" to get a
version that's compiled with my-cc. I think trying to compile only
certain parts means asking for trouble, because you'll have to
manually keep track of dependencies during linking. Why not let the
linker figure it out for you?

> I'd also like a solution that is independent of the compiler used

That's more of less straightforward as things are now. I've managed to
compile large portions with TCC (http://fabrice.bellard.free.fr/tcc/).

-- mj




reply via email to

[Prev in Thread] Current Thread [Next in Thread]