[LLVMdev] Running Examples

pcmnac++ pcmnac at gmail.com
Sun Nov 21 12:16:13 PST 2010


Hi guys,

I'm new on LLVM (and linux, and gcc and so on) and I'd like to know how to
run and test LLVM projects. I've downloaded, installed and tested LLVM
tools, such as llvm-gcc, llc, lli etc. But I don't know how to test examples
provided.

I just called "sudo make" inside "llvm/examples/fibonacci/", what generated
a directory named "Release" containing 2 files: *fibonacci.d* and *
fibonacci.o*. How can I generate a binary executable file from those ones?
I've tried to use gcc, but I got a lot of undefined reference errors. Where
can I find a example of the command line I should use?

Thanks a lot.

P.S. I'm using ubuntu 10.10.
-- 
[]'s, pcmnac.
www.pcmnac.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101121/8186069d/attachment.html>


More information about the llvm-dev mailing list