When using clang++ to build a simple hello world application, clang can't find standard library files. Should I point clang to arm-none-eabi for those files?
I'm using the clang binary downloaded from the llvm website.
#include <stdio.h>
int main(void)
{
printf("Hello World");
return 0;
}
Build Command:
clang++ -c -target arm-none-eabi -mcpu=cortex-m4 main.cpp
The above fails to locate stdio.h
Ultimately I'm going to be doing all of this using cmake on both windows and linux but I figure baby steps...