Difference between revisions of "GNU Pth"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) (New page: {| style="text-align: left; background-color: AliceBlue;" |-valign="top" !Download Source: | ftp://ftp.gnu.org/gnu/pth/pth-{{GNU-Pth-Version}}.tar.gz |} ---- == Introduction to GNU Pth =...) |
|||
Line 35: | Line 35: | ||
Compile the package: | Compile the package: | ||
− | + | CC="gcc ${BUILD32}" \ | |
+ | ./configure --prefix=/usr && | ||
+ | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/pth-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 45: | Line 48: | ||
Compile the package: | Compile the package: | ||
− | + | CC="gcc ${BUILDN32}" \ | |
+ | ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib32 && | ||
+ | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/pth-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 55: | Line 62: | ||
Compile the package: | Compile the package: | ||
− | + | CC="gcc ${BUILD64}" \ | |
+ | ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib64 && | ||
+ | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/pth-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/pth-config | ||
= Contents = | = Contents = |
Revision as of 15:26, 27 March 2007
Download Source: | ftp://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz |
---|
Contents
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 Home Page: 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 |