title: Cross compile program which uses pthreads for bare metal
body: <p>OK, this might be a very general question but I'm not to familiar with the topic and happy for any hint.</p>
  
  <p>I have a Cross Compiling tool chain from SoucereyCodeBench for ARM ( arm-xilinx-linux-gnueabi-). I cross compiled a library which uses the compiler Options: <code>-DSC_INCLUDE_FX  -DSC_USE_PTHREADS -pthreads -fPIC -DPIC</code></p>
  
  <p>So if I want to use the libary for bare metal program I would need pthreads for the bare metal compiler (arm-xilinx-eabi-) I guess?</p>
  
  <p>Otherwise my program probally wouldn't run or compile in the first place. So could it be done to compile pthreads for bare metal?</p>