Difference between revisions of "GNU Pth"

From CBLFS
Jump to navigationJump to search
Line 7: Line 7:
 
----
 
----
  
== Introduction to GNU Pth ==
+
{{Package-Introduction|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.|http://www.gnu.org/software/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 Home Page''': http://www.gnu.org/software/pth/
 
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 13:19, 16 April 2007

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