[PATCH] Mingw-w64 driver for clang
Alexey Pavlov
alexpux at gmail.com
Wed Sep 10 11:41:53 PDT 2014
>>! In D5268#36, @rnk wrote:
>> I think we need remove subclassing from Generic_GCC and subclass from Toolchain as rubenvb do earlier. And to detect too chains in path write our own functions.
>
> That seems fine.
>
>> Looking into Driver.cpp I see that toolchains trying to find basing on env "COMPILER_PATH" not the "PATH". So seems this code need to change too if we want to find in PATH.
>
> That's a surprise, but we should find a way to factor this out and parameterize it as necessary then. We don't need to inherit from Generic_GCC to reuse the same functionality.
This functionality is from Driver itself not Generic_GCC
http://reviews.llvm.org/D5268
More information about the cfe-commits
mailing list