[cfe-commits] [PATCH] Extend support of '-Bprefix' functionality

Simon Atanasyan satanasyan at mips.com
Sun Oct 21 13:43:58 PDT 2012


Clang driver accepts only directory as an argument of "-B" option.
Suppose user wants to use "prefix-as" and "prefix-ld" as a linker and
assembler respectively. Clang driver does not allow doing that. gcc
driver accepts arbitrary path's prefix as an argument of "-B" option
and allows to do that using "-Bprefix-" option. The attached patch
adds support of this functionality to the Clang driver.

Please review the patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: b-opt.patch
Type: application/octet-stream
Size: 2345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121022/224d8cc1/attachment.obj>

More information about the cfe-commits mailing list