GNU Pth

From CBLFS
Revision as of 11:55, 15 June 2007 by 69.159.232.96 (talk)
Jump to navigationJump to search
Download Source: ftp://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz

Introduction to GNU Pth

Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (aka "multithreading") inside event-driven applications.

Project Homepage: http://www.gnu.org/software/pth/

Dependencies

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 &&
make

Install the package

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

Contents

Installed Programs: pth-config
Installed Libraries: libpth.{a,la,so}
Installed Directory: None
Retrieved from "?title=GNU_Pth&oldid=10241"