GNU Pth
From CBLFS
Jump to navigationJump to searchDownload 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 LFS.
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 |