Difference between revisions of "GiNaC"

From CBLFS
Jump to navigationJump to search
(64Bit)
(Multilib)
Line 49: Line 49:
 
Compile the package:
 
Compile the package:
  
 +
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
Line 55: Line 56:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/ginac-config{,-32}
+
  mv -v /usr/bin/ginac-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 61: Line 62:
 
Compile the package:
 
Compile the package:
  
 +
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
Line 67: Line 69:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/ginac-config{,-32}
+
  mv -v /usr/bin/ginac-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/ginac-config
  
 
== Contents ==
 
== Contents ==

Revision as of 12:26, 1 January 2007

Download Source: http://www.ginac.de/ginac-1.4.1.tar.bz2

Introduction to GiNaC

GiNaC is being developed to become a replacement engine for xloops. GiNaCs design is contrary to other computer algebra systems as it does not try to provide extensive algebraic capabilities with a simple programming language. Rather, GiNaC accepts a given language (C++) and extends it by a set of algebraic capabilities.

Homepage: http://www.ginac.de

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package:

make install &&
mv -v /usr/bin/ginac-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
mv -v /usr/bin/ginac-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

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

Contents

Installed Directories: /usr/include/ginac
Installed Programs: ginsh, viewgar, ginac-config
Installed Libraries: libginac.{a,so}

Short Descriptions

ginsh: The GiNaC Interactive Shell.
viewgar: Displays the contents of GiNaC archive files.
ginac-config: Tool that is used to determine the compiler and linker flags that should be used to compile and link programs that use GiNaC.