Beginner Clang/LLVM/Ubuntu
I am required to use LLVM and Clang for a compilers class I am enrolled
in. This is not a question about the content of the class, merely how to
get the required software installed.
I am running gcc version 4.6.3 and have downloaded, built, tested, and
updated what I believe to be LLVM suite version 3.4 (the latest svn
edition). I do a simple "hello world" application, as referenced on the
LLVM getting started page, but on the line
lli helloworld.bc
I get the error "lli:helloworld.bc: Invalid MODULE_CODE_GLOBALVAR record"
I am a complete beginner with this stuff so I don't know if I gave you
everything you would need to fix my error, drop me a comment if you need
to know something else. Also please try to give me as detailed
instructions as possible...I've been thrown into the world of Ubuntu and
Clang without any instruction and can't bear to read another "solution"
that says "read the man pages".
Thank you so so much for your help. I just want to get this set up so I
can at least try the homework.
No comments:
Post a Comment