[llvm-commits] [PATCH] fix compiling llvm-gcc against installed llvm, tested with rev 89457
Mikael Lepistö
mikael.lepisto at tut.fi
Fri Nov 20 14:04:12 PST 2009
Hi,
Here is patch again (I sent this also few weeks ago) for allowing
compilation of llvm-gcc against llvm installation directory. For some
reason it never got applied during llvm-2.6 release hurries.
Before patch compiling llvm-gcc against llvm worked only if llvm
includes and libs were installed in same prefix. However e.g. in
debian deb packages have includes and libs installed in different
prefix.
Patch allows compiling llvm-gcc against any installation, as long as
llvm-config --includedir and llvm-config --libdir points to correct
places.
I tried that after patch building llvm-gcc still works:
against llvm install directory
against llvm objdir when objdir == srcdir
against llvm objdir when objdir != srcdir
I also tested building llvm-gcc without enable-llvm.
Mikael Lepistö
-------------- next part --------------
A non-text attachment was scrubbed...
Name: building-llvm-gcc-towards-installed-llvm-directory.patch
Type: application/octet-stream
Size: 2001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091121/1eabd19f/attachment.obj>
-------------- next part --------------
More information about the llvm-commits
mailing list