Building Multi-Threaded Applications |
In order to build a multi-threaded application and link it with the appropriate POSIX-threads library, do the following. After activation of the cross-build environment (. ./ACTIVATE.sh), run the following command (linux-dp.c being the application in the below example): $ ${CROSS_COMPILE_APPS}gcc -o linux-dp linux-dp.c -pthread
|