Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
Contrarily to most UNIXes, QNX doesn't include a separate libpthread.so/.a in
2
/usr/lib, the POSIX thread functions are directly embedded in the system
3
library. For this reason many UNIX tool sources autoconfiguration attempts do
4
not correctly detect pthreads support on this system. To work around this
5
problem, a static empty libpthread.a, containing just one dummy symbol, has
6
been added to the QNX platform SDK's /lib.
7
 
8
Build with:
9
	qnxsdp_env
10
	gcc -c phread-stub.c -o pthread-stub.o
11
	ar rcs libpthread.a pthread-stub.o
12
 
13
or just 'make' on Win32.
14
 
15
-- 
16
Pierre-Marie Baty <pm@pmbaty.com>