[PATCH] D107672: [AVR][clang] Search for avr-libc in $SYSROOT/avr

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 6 19:11:58 PDT 2021


MaskRay added a comment.

I know nearly nothing about AVR, but from `avr-gcc a.c '-###'` I doubt this is the GCC behavior. GCC's library path is relative to the GCC installation. `/usr/lib/gcc/avr/5.4.0/../../../avr/lib`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107672



More information about the cfe-commits mailing list