benshi001 added a comment.

Although the bug can be avoided via "-I /usr/lib/avr/include" in clang's 
command line option, I expect clang to have the save behaviour as avr-gcc.

And for avr-gcc, `avr-gcc a.c -mmcu=xxx` will automatically include avr-libc's 
header files and link avr-libc's libxxxx.a .


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97669/new/

https://reviews.llvm.org/D97669

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to