GPK is available for download in source format. It has been tested
and works well on Linux using PMPthreads. Two example programs are
provided in the distribution to demonstrate the library's use.
Prerequisites
- GPK needs two supporting libraries:
- GTK version 0.99.2 or later and
- An implementation of POSIX threads
- If your getting started with POSIX threads on Linux, I recommend
using
PMPthreads. Although these are not kernel-level threads, they
are more stable and debuggable than current versions of
LinuxThreads.
Getting the Code
- The tar file contains GPK source
code.
Compiling GPK
- The distribution contains a directory called
gpk
that contains the code for the GPK library. The Makefile
for the library works for both PMPthreads and LinuxThreads.
- Copy the makefile best matching your environment to "Makefile"
and type "make". This will build the library and the
sample programs.
|