/
Building Multi-threaded Applications
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
, multiple selections available,
Related content
Building Multi-Threaded Applications (uClinux)
Building Multi-Threaded Applications (uClinux)
More like this
Building C++ Applications
Building C++ Applications
More like this
Building C++ Applications (uClinux)
Building C++ Applications (uClinux)
More like this
STM32MP1-Old-Kits: Building Linux Userspace Applications
STM32MP1-Old-Kits: Building Linux Userspace Applications
More like this
Cross Development Environment: Dependency on Host Components
Cross Development Environment: Dependency on Host Components
More like this
Cross Development Environment: Dependency on Host Components (uClinux)
Cross Development Environment: Dependency on Host Components (uClinux)
More like this