Blame | Last modification | View Log | Download | RSS feed
Contrarily to most UNIXes, QNX doesn't include a separate libpthread.so/.a in
/usr/lib, the POSIX thread functions are directly embedded in the system
library. For this reason many UNIX tool sources autoconfiguration attempts do
not correctly detect pthreads support on this system. To work around this
problem, a static empty libpthread.a, containing just one dummy symbol, has
been added to the QNX platform SDK's /lib.
Build with:
qnxsdp_env
gcc -c phread-stub.c -o pthread-stub.o
ar rcs libpthread.a pthread-stub.o
or just 'make' on Win32.
--
Pierre-Marie Baty <pm@pmbaty.com>