Difference between revisions of "GSL"

From CBLFS
Jump to navigationJump to search
(Added page.)
 
m
Line 11: Line 11:
 
Compile the package:
 
Compile the package:
  
     ./configure --prefix=/opt/gnu &&
+
     ./configure --prefix=/opt/scimath &&
 
     make
 
     make
  
Line 24: Line 24:
 
Compile the package:
 
Compile the package:
  
     CC="gcc ${BUILD32}" ./configure --prefix=/opt/gnu --libdir=/opt/gnu/lib &&
+
     CC="gcc ${BUILD32}" ./configure --prefix=/opt/scimath --libdir=/opt/scimath/lib &&
 
     make
 
     make
  
Line 41: Line 41:
 
Compile the package:
 
Compile the package:
  
     CC="gcc ${BUILD64}" ./configure --prefix=/opt/gnu --libdir=/opt/gnu/lib64 &&
+
     CC="gcc ${BUILD64}" ./configure --prefix=/opt/scimath --libdir=/opt/scimath/lib64 &&
 
     make
 
     make
  

Revision as of 21:53, 11 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

N32

Compile the package:

Install the package:

64Bit

Compile the package:

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

Install the package:

   make install

Contents

  • Installed Libraries: libgslcblas.{so,la,a}, libgsl.{so,la,a}