[LLVMdev] Using LLVM with Ada
Duncan Sands
baldrick at free.fr
Tue Aug 31 07:58:13 PDT 2010
Hi Enrico, did you follow the instructions here
http://llvm.org/docs/GCCFEBuildInstrs.html#ada
to build llvm-gcc with Ada support?
> To this extent I compiled the Ada f-e from source (v. 2.5).
If by 2.5 you mean LLVM-2.5 I suggest you use something more recent, for
example LLVM-2.7.
> However, while trying to compile a simple HelloWorld example I get several
> errors dealing with undefined references (while invoking LLVM on hello).
Please show how you tried to compile it and what the undefined references
were.
> Arguably I missed something on the right way to use the LLVM tools
> with Ada sourcecode.
You are supposed to be able to use llvm-gcc in the same way as gcc.
Ciao,
Duncan.
More information about the llvm-dev
mailing list