Re: [cfe-users] C/C++ system include dirs when cross-compiling

2016-03-24 Thread Arnaud Allard de Grandmaison via cfe-users
Arnaud Allard de Grandmaison via > cfe-users wrote: > > Hi Patrick, > > > > This is a common case when cross compiling, so clang knows how to use a > > gcc-toolchain installation: you just have to pass it the "--sysroot=..." > and > > "--to

Re: [cfe-users] C/C++ system include dirs when cross-compiling

2016-03-24 Thread Arnaud Allard de Grandmaison via cfe-users
Hi Patrick, This is a common case when cross compiling, so clang knows how to use a gcc-toolchain installation: you just have to pass it the "--sysroot=..." and "--toolchain=..." arguments, and it will get the header files and linker / assembler for your target --- assuming your gcc-toolchain has