Why register?

  • Download software and technical materials
  • Purchase products at our on-line shop
  • Receive design news to stay up-to-date with Emcraft's new solutions



Building Multi-Threaded Applications Print


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):

[yur@ovm linux-cortexm-2.5.0]$ arm-v7-linux-uclibceabi-gcc -o linux-dp \
linux-dp.c -mcpu=cortex-m3 -mthumb -static -pthread