[cfe-commits] Inferring host triple from command name

Joerg Sonnenberger joerg at britannica.bec.de
Mon Mar 14 16:19:06 PDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver-target.diff
Type: text/x-diff
Size: 2395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110315/18cf72db/attachment.diff>


More information about the cfe-commits mailing list