[cfe-users] --sysroot and --gcc-toolchain: any docs etc.?

2017-06-13 Thread Paul Smith via cfe-users
Can someone point to any detailed information about how these flags work? I have a custom-compiled version of GCC on Linux and I'm trying to build Clang 4.0.0 for this system as well. I would like it to use libstdc++ from my custom-compiled GCC installation to allow linking of other libraries bui

Re: [cfe-users] --sysroot and --gcc-toolchain: any docs etc.?

2017-06-13 Thread Paul Smith via cfe-users
On Tue, 2017-06-13 at 15:08 +0200, Raphael Isemann wrote: > we also had this problem and the thing it that clang checks for a > valid GCC/libstdc++ installation by looking for the crtbegin.o file in > the related lib directory. So it doesn't work if you just have the > headers for libstdc++, you al

[cfe-users] How to have clang ignore gch directories?

2019-04-23 Thread Paul Smith via cfe-users
How can I get clang to stop caring about gch directories for precompiled headers that were created by GCC? Currently my main build uses GCC and it generates .gch directories: $ ls -1d foo_pch* foo_pch.h foo_pch.h.gch/ When I compile my code using GCC, it works fine: $ g++ ... -Winvalid-

Re: [cfe-users] How to have clang ignore gch directories?

2019-04-25 Thread Paul Smith via cfe-users
On Thu, 2019-04-25 at 14:38 -0700, Richard Smith wrote: > > How can I tell clang to just ignore the GCC-specific precompiled > > headers, or equivalently ignore precompiled headers altogether? I > > can't delete the gch directories because I need them for my build. I've > > read through the clang

Re: [cfe-users] How to have clang ignore gch directories?

2019-11-27 Thread Paul Smith via cfe-users
On Thu, 2019-04-25 at 18:53 -0400, Paul Smith via cfe-users wrote: > On Thu, 2019-04-25 at 14:38 -0700, Richard Smith wrote: > > > How can I tell clang to just ignore the GCC-specific precompiled > > > headers, or equivalently ignore precompiled headers altogether? I >