Difference between revisions of "CLN"

From CBLFS
Jump to navigationJump to search
(Created page.)
 
m (Versioning.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.ginac.de/CLN/cln-1.1.13.tar.bz2
+
| http://www.ginac.de/CLN/cln-{{CLN-Version}}.tar.bz2
 
|}
 
|}
  

Revision as of 09:03, 17 December 2006

Download Source: http://www.ginac.de/CLN/cln-1.3.0.tar.bz2

Introduction to CLN

Class Library for Numbers (CLN) is a C++ library for computations with all kinds of numbers. The CLN package implements elementary functions (+, -, *, /, sqrt, comparisons, ...), logical functions (logical and, or, not, ...), and transcendental functions (exponential, logarithmic, trigonometric, hyperbolic functions and their inverse functions).

Dependencies

NOTE: From the CLN documentation, "Only GNU make 3.77 is unusable for CLN; other versions work fine."

Optional

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/cln-config{,-32}

N32

Compile the package:

 CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 make

Install the package:

 make install &&
 mv -v /usr/bin/cln-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/cln-config{,-64} &&
 ln -sfv multiarch_wrapper /usr/bin/cln-config

Installed Files

  • Installed Programs: cln-config
  • Installed Libraries: libcln.{a,la,so}

Short Description

  • cln-config: A shell script that you can use to determine the compiler and linker command line options required to compile and link a program with CLN.
  • libcln: The library.
Retrieved from "?title=CLN&oldid=4926"