Difference between revisions of "GSL"

From CBLFS
Jump to navigationJump to search
Line 30: Line 30:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /opt/scimath/bin/gsl-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 41: Line 42:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /opt/scimath/bin/gsl-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 53: Line 55:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /opt/scimath/bin/gsl-config{,-64} &&
 +
ln -sfv /usr/bin/multiarch_wrapper /opt/scimath/bin/gsl-config
  
 
== Contents ==
 
== Contents ==
  
 
*Installed Libraries: libgslcblas.{so,la,a}, libgsl.{so,la,a}
 
*Installed Libraries: libgslcblas.{so,la,a}, libgsl.{so,la,a}

Revision as of 09:36, 12 November 2006

Download Source: ftp://ftp.gnu.org/gnu/gsl/gsl-1.8.tar.gz

The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. The library provides over 1000 functions covering a wide range of mathematical routines such as random number generators, special functions and least-squares fitting.

Non-Multilib

Compile the package:

./configure --prefix=/opt/scimath &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/opt/scimath \
    --libdir=/opt/scimath/lib &&
make

Install the package:

make install &&
mv -v /opt/scimath/bin/gsl-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/opt/scimath \
    --libdir=/opt/scimath/lib32

Install the package:

make install &&
mv -v /opt/scimath/bin/gsl-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/opt/scimath \
    --libdir=/opt/scimath/lib64 &&
make

Install the package:

make install &&
mv -v /opt/scimath/bin/gsl-config{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper /opt/scimath/bin/gsl-config

Contents

  • Installed Libraries: libgslcblas.{so,la,a}, libgsl.{so,la,a}
Retrieved from "?title=GSL&oldid=3947"