[cfe-commits] r149083 - in /cfe/trunk: include/clang/Driver/ToolChain.h lib/Driver/Driver.cpp lib/Driver/ToolChain.cpp lib/Driver/ToolChains.cpp lib/Driver/ToolChains.h lib/Driver/WindowsToolChain.cpp test/Driver/prefixed-tools.c test/Driver/pref
Sebastian Pop
spop at codeaurora.org
Tue Jan 31 09:57:02 PST 2012
On Tue, Jan 31, 2012 at 6:08 AM, James Molloy <james.molloy at arm.com> wrote:
> Hi,
>
>> If you are doing cross-compiling and you
>> can't get the compiler name right, you have bigger issues. I still
>> maintain that auto-detection like that is not only unreliable, it makes
>> it a lot harder to find issues when (not if) they happen.
>
> FWIW, I completely agree with this subpoint. It's something the target
> database hopes to do - remove magic. I'm not sure what Chandler's end-game
> plan is though, hopefully the same :/
I also agree with this point: there are toolchains that clang will never be able
to guess in an automatic way. I would like clang to rely less on the current
automagic detection and more on what the user is asking, be it configure time
or target database, I don't care, as long as I have a way to tell clang to use
my tools, and not the ones clang "thinks" are the ones that fit the use.
Thanks,
Sebastian
--
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
More information about the cfe-commits
mailing list