[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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Jan 27 08:36:22 PST 2012


> Reverting just this change is inacceptable. It fixes a major regression
> for cross-compiling support from your earlier changes, without
> introducing a bag of new ones.

I am pretty sure the use case you implemented is not desired on linux
or OS X at least. On OS X we already have -arch working. On linux, we
should not be specifying an arch and using a toolchain with exactly
that triple. We should specify a toolchain and have the current
detection system do its magic.

You should at a very minimum move this to be NetBSD only.

> Joerg

Cheers,
Rafael



More information about the cfe-commits mailing list