Tool/software:
Hello,
I'd like to know whether the TI Arm Clang Compiler Tools fully support C11.
According to the documentation:
C11 is, in fact, supported - including thread support.
However, following the tutorial at:
and compiling the following source:
#include <stdio.h> #include <stdlib.h> #include <threads.h> int fn(void *args) { return 0; } int main(void) { thrd_t a; thrd_create(&a, fn, NULL); return 0; }
with the lnkme.cmd file from the tutorial and the command:
~/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang --std=c11 -pedantic -v -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 test.c -o test.out -Xlinker -llnkme.cmd -Xlinker -mtest.map
returns an error - threads.h does not exist.
Grep-ing into the compiler's installation folder shows that threads.h, in fact, does not exist within the installation.
The compiler was downloaded from:
https://www.ti.com/tool/download/ARM-CGT-CLANG/3.2.2.LTS
---
Does the TI ARM Clang compiler support C11 - specifically, does the compiler include thread support?
Thank you for your time!
Best regards,
Hristo