The problem of compiling llvm-gcc from sources might not be fixed even
with this change. I think the easiest way to allow compiling llvm-gcc
from sources with the libllvm installed from Ubuntu is to add a symbolic
link "include/llvm -> /usr/include/llvm" to the llvm-config --prefix
(/usr/lib/llvm). This seemed to fix it for me.

This kind of situation of wanting to compile llvm-gcc from sources with
Ubuntu-installed LLVM is a realistic case for our project
(http://tce.cs.tut.fi) where we use LLVM as is, but need to recompile
llvm-gcc as a cross compiler. Luckily, Clang should work out-of-the-box
in the future.

-- 
llvm-config --includedir returns wrong directory
https://bugs.launchpad.net/bugs/431313
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to