seltzered / ccons

Automatically exported from code.google.com/p/ccons
MIT License
0 stars 0 forks source link

TargetSelect.h path #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make

What is the expected output? What do you see instead?

[  7%] Building CXX object CMakeFiles/ccons.dir/ccons.cpp.o
/Users/barba/Documents/Sources/ccons-read-only/ccons.cpp:18:38: error: 
llvm/Target/TargetSelect.h: No such file or directory
/Users/barba/Documents/Sources/ccons-read-only/ccons.cpp: In function ‘int 
main(int, char**)’:
/Users/barba/Documents/Sources/ccons-read-only/ccons.cpp:78: error: 
‘InitializeNativeTarget’ is not a member of ‘llvm’
make[2]: *** [CMakeFiles/ccons.dir/ccons.cpp.o] Error 1
make[1]: *** [CMakeFiles/ccons.dir/all] Error 2
make: *** [all] Error 2

What version of the product are you using? On what operating system?

trunk on Mac OX 10.6.8

Solution

Change llvm/Target/TargetSelect.h to <llvm/Support/TargetSelect.h>

Original issue reported on code.google.com by danilogo...@gmail.com on 14 Sep 2011 at 3:16

GoogleCodeExporter commented 9 years ago
Builds fine against clang/llvm tip of tree now.

Original comment by Alexei.Svitkine@gmail.com on 10 Jul 2012 at 4:08