[llvm-commits] [patch][llvm-gcc] Port -no-canonical-prefixes

Duncan Sands baldrick at free.fr
Mon Aug 17 00:48:42 PDT 2009


Rafael Espindola wrote:
> The llvm-gcc-149702.patch patch is a port of
> http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00110.html
> 
> The summary is that with it
> ./foo/bar/bin/gcc -c llvm-gcc-149702.patch
> will run cc1 with
> ./foor/bar/bin/../../libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/cc1
> Instead of
> /<absolute path>/foor/bar/bin/../../libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/cc1
> 
> Which is nice in an installation where gcc and cc1 are symbolic links
> that point to files
> in unrelated directories.
> 
> The original patch was GPL3, but I have permission to port it to GPL2
> to use it on llvm-gcc.
> 
> The llvm-gcc-119366.patch is a dependency since it defines
> make_relative_prefix_ignore_links.
> The original is GPL2.
> 
> I would like to commit them (after adding the LLVM_LOCAL marks). Is that OK?

It looks good to me.

Ciao,

Duncan.



More information about the llvm-commits mailing list