[llvm-commits] [patch] Implement no-canonical-prefixes.

Rafael Espindola espindola at google.com
Sun Nov 29 08:34:30 PST 2009


Gcc's option -fno-canonical-prefixes is useful for the case where gcc
and cc1 are symbolic links to different directories. The same is true
for clang and clang-cc. For example, if  we have

bin/clang -> /foo/clang
bin/clang-cc /bar/clang-cc

clang will fail to find clang-cc since it will look for /foo/clang-cc.

The attached patch implements -no-canonical-prefixes in the driver.

For more information see.
http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00110.html

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-canonical-prefixes.patch
Type: text/x-diff
Size: 2641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091129/300cdc54/attachment.patch>


More information about the llvm-commits mailing list