GSL: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
Compile the package: | Compile the package: | ||
./configure --prefix=/ | ./configure --prefix=/usr && | ||
make | make | ||
| Line 24: | Line 24: | ||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD32}" ./configure --prefix=/ | CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | ||
--libdir=/ | --libdir=/usr/lib && | ||
make | make | ||
| Line 31: | Line 31: | ||
make install && | make install && | ||
mv -v / | mv -v /usr/bin/gsl-config{,-32} | ||
=== N32 === | === N32 === | ||
| Line 37: | Line 37: | ||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
--libdir=/ | --libdir=/usr/lib32 | ||
Install the package: | Install the package: | ||
make install && | make install && | ||
mv -v / | mv -v /usr/bin/gsl-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
| Line 49: | Line 49: | ||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD64}" ./configure --prefix=/ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
--libdir=/ | --libdir=/usr/lib64 && | ||
make | make | ||
| Line 56: | Line 56: | ||
make install && | make install && | ||
mv -v / | mv -v /usr/bin/gsl-config{,-64} && | ||
ln -sfv /usr/bin/multiarch_wrapper / | ln -sfv /usr/bin/multiarch_wrapper /usr/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 14:30, 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=/usr && make
Install the package:
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
--libdir=/usr/lib &&
make
Install the package:
make install &&
mv -v /usr/bin/gsl-config{,-32}
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
--libdir=/usr/lib32
Install the package:
make install &&
mv -v /usr/bin/gsl-config{,-n32}
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
--libdir=/usr/lib64 &&
make
Install the package:
make install &&
mv -v /usr/bin/gsl-config{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper /usr/bin/gsl-config
Contents
- Installed Libraries: libgslcblas.{so,la,a}, libgsl.{so,la,a}