[cfe-dev] system includes
espindola at google.com
Mon Feb 15 13:05:37 PST 2010
On 15 February 2010 15:45, Diego Iastrubni <diegoiast at gmail.com> wrote:
> So you want to lock the directories to the directories of the compiler which
> bootstrapped clang? Not smart, what happens when you change gcc compiler on
> your system? clang will fail.
> IMHO, the best solution would be to find it on "standard" paths... maybe add
> a "--gcc-include-path" parameter or something. What do you think?
Clang's configure (llvm's actually) script already has options to use
a particular include directory for C or C++. A --copy-gcc=/usr/bin/gcc
would be an extra convenience for those that just want to build clang
to work as a system compiler.
Rafael Ávila de Espíndola
More information about the cfe-dev