> --sysroot is not a viable alternative, because GCC cross-build
> toolchains do not put everything in the sysroot. Things like libcrt.o
> live in the GCC root directory.  This is hard-coded into the GCC
> version that they ship, so there needs to be some way of providing
> this path to clang.

Hardcoding it at compile time? In the future this will hopefully be a 
configuration file, but for now you can probably try adding 
configure/cmake options similar to the ones we have for C and C++ header 
search.

Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to