Displaying 9 results from an estimated 9 matches for "gnatmake".
2010 Mar 05
2
[LLVMdev] LLVM-gcc for Ada
...ng --enable-llvm=$PWD/../llvm-objects --disable-bootstrap --disable-multilib --disable-werror --with-gxx-include-dir=/usr/include/c++/4.2.1 --build=$TRIPLE --host=$TRIPLE --target=$TRIPLE --with-gmp=/usr/local --with-mpfr=/usr/local --with-libiconv-prefix=/usr/local
Had to do this to get the right gnatmake:
In llvm-gcc-4.2-objects/gcc/ada/Make-lang.in
declare:
gnatmake = /opt/gnat-gpl-2009/bin/gnatmake
For all targets ada/treeprs.ads through ada/nmake.ads
Change gnatmake -q
to $(gnatmake)
2009 May 26
0
[LLVMdev] LLVM-gcc for Ada
...ot; on the first line.
>
> yes, that's because llvm-gcc is based on gcc 4.2.
>
> So it compiled version 4.2 and
>> so gnatbind and gnatlink does not work because they are version 4.1.3.
>
> When you built llvm-gcc, you also built appropriate versions of gnatbind
> and gnatmake. Don't mix versions: use
> export PATH=path_to_wherever_llvm_gcc_lives:$PATH
> before doing stuff. Since the gnatbind and gnatmake you built should be
> there too, you will use consistent versions and all will be fine.
>
>> If I compile the same program using gcc of the g...
2009 May 26
1
[LLVMdev] LLVM-gcc for Ada
Duncan Sands wrote:
> Hi Andre,
>
>
>> In file included from ../../gcc/llvm-backend.cpp:23:
>> ../../gcc/llvm-internal.h:31: fatal error: vector: No such file or directory
>> compilation terminated.
>>
>
> line 31 of llvm-internal.h is:
>
> #include <vector>
>
> so if that's failing then your C++ compiler is somehow borked.
>
2009 Aug 05
2
[LLVMdev] ACATS
Andr? Tavares wrote:
> Thanks for the link Duff.
You're welcome.
> I downloaded ACATS, but could not run it on LLVM. Could not find any
> instructions that could lead me to do so. Do you know how can do it?
Compiler vendors are expected to write their own scripts,
which is not a trivial task.
The "B Tests" have deliberate errors, marked with "-- ERROR:"
2009 Aug 26
0
[LLVMdev] Ada bindings side notes.
Hi Edward,
> Initial Ada bindings have been introduced for the LLVM 2.6 release.
> Unfortunately no one was able/had time to help me better integrate it
> into the LLVM build system. Thus, It has been left with a GPR Ada
> project file for building the bindings, anyone using the Ada bindings
> will know what this is and how to handle it.
does this mean the bindings only work with
2010 Aug 31
0
[LLVMdev] Using LLVM with Ada
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
2010 Aug 31
2
[LLVMdev] Using LLVM with Ada
Dear all,
I'm trying to exploit the LLVM framework to optimize my Ada programs.
To this extent I compiled the Ada f-e from source (v. 2.5).
However, while trying to compile a simple HelloWorld example I get several
errors dealing with undefined references (while invoking LLVM on hello).
Arguably I missed something on the right way to use the LLVM tools
with Ada sourcecode.
I would really
2009 Aug 22
2
[LLVMdev] Ada bindings side notes.
Good day all,
Initial Ada bindings have been introduced for the LLVM 2.6 release.
Unfortunately no one was able/had time to help me better integrate it
into the LLVM build system. Thus, It has been left with a GPR Ada
project file for building the bindings, anyone using the Ada bindings
will know what this is and how to handle it.
However, in future as these bindings improve/progress. We should
2010 Aug 31
2
[LLVMdev] Using LLVM with Ada
...he GNAT GPL Edition. GNAT GPL 2008, gcc-4.3 and
later will not work."
> Please show how you tried to compile it and what the undefined references
> were.
> You are supposed to be able to use llvm-gcc in the same way as gcc.
Actually I was able to compile my program by invoking "gnatmake" provided by
the llvm-gcc f-e and I obtained an optimized version of my
excutable.
However, I would be interested in calling different llvm tools in a
non-transparent way. For example I would like to call llvm-gcc to obtain
the LLVM intermediate representation of a compilation module
(e.g., l...