[LLVMdev] Running Examples
Reid Kleckner
reid.kleckner at gmail.com
Mon Nov 22 10:46:11 PST 2010
I think you need to run ./configure and make in the root of the
checkout, and then look at
llvm-checkout/Release/bin/examples/Fibonacci . All the binaries are
left under bin in a directory named after the build mode.
Reid
On Sun, Nov 21, 2010 at 3:16 PM, pcmnac++ <pcmnac at gmail.com> wrote:
> 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
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
More information about the llvm-dev
mailing list