Displaying 4 results from an estimated 4 matches for "gnat2007".
2009 May 26
1
[LLVMdev] LLVM-gcc for Ada
...ked. Unfortunately there
is another problem. If I compile with llvm-gcc the ali file resulting
says V "GNAT Lib v4.2" on the first line. So it compiled version 4.2 and
so gnatbind and gnatlink does not work because they are version 4.1.3.
If I compile the same program using gcc of the gnat2007, the ali file
says that the version is 4.1.3, the right one.
Somehow the lib version that llvm-gcc is being compiled is 4.2. Do you
know how to get the 4.1.3 version?
Thanks
--
Andre Tavares
Master Student in Computer Science - UFMG - Brasil
http://dcc.ufmg.br/~andrelct
2009 May 26
0
[LLVMdev] LLVM-gcc for Ada
...e. 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 gnat2007, the ali file
>> says that the version is 4.1.3, the right one.
>>
>> Somehow the lib version that llvm-gcc is being compiled is 4.2. Do you
>> know how to get the 4.1.3 version?
>
> Version 4.1.3 is the wrong one: it is the version of GPL 2007. You
> want 4.2 beca...
2009 May 25
0
[LLVMdev] LLVM-gcc for Ada
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.
How did you arrange to use the right gcc for the build? Maybe
that's getting in the way of
2009 May 25
2
[LLVMdev] LLVM-gcc for Ada
Duncan Sands wrote:
> Hi Andre,
>
>
>> I'm trying to build LLVM-gcc to compile Ada.
>>
>
> excellent!
>
> But I'm having a few problems.
>
> Oops :(
>
>
>> Now when I ran make I get an error that for me it seams very weird.
>>
>> ../../gcc/c-format.c: In function 'set_Wformat':
>> ../../gcc/c-format.c:48: error: