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

Rafael Espindola espindola at google.com
Sun Aug 16 00:41:49 PDT 2009


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?

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-gcc-119366.patch
Type: application/octet-stream
Size: 3129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090816/f8ac1ec2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-gcc-149702.patch
Type: application/octet-stream
Size: 6729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090816/f8ac1ec2/attachment-0001.obj>


More information about the llvm-commits mailing list