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
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
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-
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
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
>