[cfe-commits] Inferring host triple from command name

Eric Christopher echristo at apple.com
Mon Mar 14 17:14:24 PDT 2011


On Mar 14, 2011, at 4:19 PM, Joerg Sonnenberger wrote:

> Hi all,
> the attached patch allows inferring the host triple from the command
> name, making it easier to integrate in a cross-compiling toolchain.
> To use this, simply create a symlink from clang e.g. to
> x86_64-netbsd-clang and the latter will default to the x86_64--netbsd
> target.
> 
> Joerg

That's kinda cool. I have no objections.

-eric




More information about the cfe-commits mailing list