This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
Re: [cgabriel@linux.it (Christopher R. Gabriel)] gsl configure.in patch
- To: Gerard Jungman <jungman at lanl dot gov>
- Subject: Re: [cgabriel@linux.it (Christopher R. Gabriel)] gsl configure.in patch
- From: Peter Hopfgartner <hopfgartner at rolmail dot net>
- Date: Sun, 09 Apr 2000 10:12:26 +0000
- CC: GSL discussion list <gsl-discuss at sourceware dot cygnus dot com>
- Organization: Private
- References: <87hfde1idc.fsf@portacipria.lanl.gov> <38EE2775.5F72526D@lanl.gov>
It's nice to see that more and more people is on the mailing list.
Obviously, some questions might come up every once in a while. So it might
be the time to start a FAQ.
Peter
Gerard Jungman wrote:
> I have replied to the full list, to try and clear this up again.
>
> No, it should not be in the general library. There are two
> separate blas implementations, one native GSL and one implemented
> as a wrapper over a conformant cblas implementation.
>
> People choose which one they want at _application_ link time.
> So all applications that use linear algebra must
> specify either -lgslblasnative or -lgslblascblas,
> as well as -lgsl. When they link against -lgslblascblas,
> they will also need to link -lcblasfoo, where cblasfoo
> is their local cblas conformant implementation.
>
> Mark Galassi wrote:
> >
> > [dude, should blas be in the general library?]
> >
> > From: cgabriel@linux.it (Christopher R. Gabriel)
> > Subject: gsl configure.in patch
> > To: rosalia@lanl.gov
> > Date: 05 Apr 2000 04:41:03 +0200
> >
> > I think you need this, if the blas lib is not something just for
> > testing cvs.
> >
> > *** configure.in Wed Apr 5 05:36:04 2000
> > --- configure.in.old Wed Apr 5 05:37:15 2000
> > *************** esac
> > *** 212,218 ****
> > # Now restore our (possibly augmented) CFLAGS.
> > CFLAGS="$save_cflags"
> > GSL_CFLAGS="$CFLAGS -I$prefix/include/gsl"
> > ! GSL_LIBS="-L$prefix/lib/gsl -lgsl -lgslblascblas -lgslblasnative"
> >
> > AC_SUBST(GSL_CFLAGS)
> > AC_SUBST(GSL_LIBS)
> > --- 212,218 ----
> > # Now restore our (possibly augmented) CFLAGS.
> > CFLAGS="$save_cflags"
> > GSL_CFLAGS="$CFLAGS -I$prefix/include/gsl"
> > ! GSL_LIBS="-L$prefix/lib/gsl -lgsl"
> >
> > AC_SUBST(GSL_CFLAGS)
> > AC_SUBST(GSL_LIBS)
> >
> > --
> > Christopher R. Gabriel | bez0(x) = (1 - x)**3
> > http://www.linux.it/~cgabriel/ | bez1(x) = 3 * (1 - x)**2 * x
> > Short messages: cgabriel@sms.tin.it | bez2(x) = 3 * (1 - x) * x**2
> > bez3(x) = x**3
> > set title "Ecco che ride!"