Difference between revisions of "GNU Pth"
From CBLFS
Jump to navigationJump to search(6 intermediate revisions by 4 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
− | {{Package-Introduction|Pth | + | {{Package-Introduction|The Pth package contains a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (multithreading) inside event-driven applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable.|http://www.gnu.org/software/pth/}} |
== Dependencies == | == Dependencies == | ||
Line 13: | Line 13: | ||
=== Optional === | === Optional === | ||
* [[Dmalloc]] | * [[Dmalloc]] | ||
+ | |||
+ | == Configuration Information == | ||
+ | |||
+ | {{Note|Don't add the --enable-pthread parameter to the configure command below else you will overwrite the pthread library and interface header installed by the Glibc package in CLFS. Also worth noting is that this package dosen't build with -j* attached to make.}} | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 23: | Line 27: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | install -v -m755 -d /usr/share/doc/pth-2.0.7 && | ||
+ | install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7 | ||
== Multilib == | == Multilib == | ||
Line 38: | Line 44: | ||
make install && | make install && | ||
− | mv -v /usr/bin/pth-config{,-32} | + | mv -v /usr/bin/pth-config{,-32} && |
+ | install -v -m755 -d /usr/share/doc/pth-2.0.7 && | ||
+ | install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7 | ||
=== N32 === | === N32 === | ||
Line 52: | Line 60: | ||
make install && | make install && | ||
− | mv -v /usr/bin/pth-config{,-n32} | + | mv -v /usr/bin/pth-config{,-n32} && |
+ | install -v -m755 -d /usr/share/doc/pth-2.0.7 && | ||
+ | install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7 | ||
=== 64Bit === | === 64Bit === | ||
Line 67: | Line 77: | ||
make install && | make install && | ||
mv -v /usr/bin/pth-config{,-64} && | mv -v /usr/bin/pth-config{,-64} && | ||
− | ln -sfv multiarch_wrapper /usr/bin/pth-config | + | ln -sfv multiarch_wrapper /usr/bin/pth-config && |
+ | install -v -m755 -d /usr/share/doc/pth-2.0.7 && | ||
+ | install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7 | ||
= Contents = | = Contents = | ||
Line 80: | Line 92: | ||
|-valign="top" | |-valign="top" | ||
! Installed Directory: | ! Installed Directory: | ||
− | | | + | | /usr/share/doc/pth-2.0.7 |
|} | |} | ||
+ | |||
+ | [[Category:General Utilities]] |
Latest revision as of 14:29, 22 February 2010
Download Source: | ftp://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz |
---|
Contents
Introduction to GNU Pth
The Pth package contains a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (multithreading) inside event-driven applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable.
Project Homepage: http://www.gnu.org/software/pth/
Dependencies
Optional
Configuration Information
Don't add the --enable-pthread parameter to the configure command below else you will overwrite the pthread library and interface header installed by the Glibc package in CLFS. Also worth noting is that this package dosen't build with -j* attached to make.
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install && install -v -m755 -d /usr/share/doc/pth-2.0.7 && install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" \ ./configure --prefix=/usr && make
Install the package
make install && mv -v /usr/bin/pth-config{,-32} && install -v -m755 -d /usr/share/doc/pth-2.0.7 && install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7
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} && install -v -m755 -d /usr/share/doc/pth-2.0.7 && install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7
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 && install -v -m755 -d /usr/share/doc/pth-2.0.7 && install -v -m644 README PORTING SUPPORT TESTS /usr/share/doc/pth-2.0.7
Contents
Installed Programs: | pth-config |
---|---|
Installed Libraries: | libpth.{a,la,so} |
Installed Directory: | /usr/share/doc/pth-2.0.7 |