CLN: Difference between revisions

From CBLFS
Jump to navigationJump to search
m Versioning.
No edit summary
Line 5: Line 5:
|}
|}


== Introduction to CLN ==
= 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).
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 ==
<b>Homepage:</b> http://www.ginac.de/CLN/
 
= Dependencies =


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


=== Optional ===
== Optional ==
 
* [[GMP]]
* [[GMP]]


== Non-Multilib ==
= Non-Multilib =


Compile the package:
Compile the package:


   ./configure --prefix=/usr &&
   ./configure --prefix=/usr --htmldir=/usr/share/doc/cln-{{CLN-Version}}/html \
  --dvidir=/usr/share/doc/cln-{{CLN-Version}} &&
   make
   make


Line 27: Line 31:
   make install
   make install


== Multilib ==
= Multilib =


=== 32Bit ===
== 32Bit ==


Compile the package:
Compile the package:


   CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib &&
   CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib \
  --htmldir=/usr/share/doc/cln-{{CLN-Version}}/html \
  --dvidir=/usr/share/doc/cln-{{CLN-Version}} &&
   make
   make


Line 41: Line 47:
   mv -v /usr/bin/cln-config{,-32}
   mv -v /usr/bin/cln-config{,-32}


=== N32 ===
== N32 ==


Compile the package:
Compile the package:


   CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
   CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
  --htmldir=/usr/share/doc/cln-{{CLN-Version}}/html \
  --dvidir=/usr/share/doc/cln-{{CLN-Version}} &&
   make
   make


Line 53: Line 61:
   mv -v /usr/bin/cln-config{,-n32}
   mv -v /usr/bin/cln-config{,-n32}


=== 64Bit ===
== 64Bit ==


Compile the package:
Compile the package:


   CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
   CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
  --htmldir=/usr/share/doc/cln-{{CLN-Version}}/html \
  --dvidir=/usr/share/doc/cln-{{CLN-Version}} &&
   make
   make


Line 66: Line 76:
   ln -sfv multiarch_wrapper /usr/bin/cln-config
   ln -sfv multiarch_wrapper /usr/bin/cln-config


== Installed Files ==
= Contents =


* '''Installed Programs:''' cln-config
{|style="text-align: left"
* '''Installed Libraries:''' libcln.{a,la,so}
|-valign="top"
!Installed Programs:
|cln-config
|-valign="top"
!Installed Libraries:
|libcln.{a,la,so}
|}


=== Short Description ===
== 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.
{|style="text-align: left"
* '''libcln:''' The library.
|-valign="top"
!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.
|-valign="top"
!libcln:
|The C++ library.
|}

Revision as of 08:16, 22 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).

Homepage: http://www.ginac.de/CLN/

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 --htmldir=/usr/share/doc/cln-1.3.0/html \
 --dvidir=/usr/share/doc/cln-1.3.0 &&
 make

Install the package:

 make install

Multilib

32Bit

Compile the package:

 CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib \
 --htmldir=/usr/share/doc/cln-1.3.0/html \
 --dvidir=/usr/share/doc/cln-1.3.0 &&
 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 \
 --htmldir=/usr/share/doc/cln-1.3.0/html \
 --dvidir=/usr/share/doc/cln-1.3.0 &&
 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 \ 
 --htmldir=/usr/share/doc/cln-1.3.0/html \
 --dvidir=/usr/share/doc/cln-1.3.0 &&
 make

Install the package:

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

Contents

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 C++ library.
Retrieved from "?title=CLN&oldid=6050"