Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Announcement: GNAT ported to LLVM"
2009 May 27
1
[LLVMdev] Ada bound checks
Dear Duncan,
Everything worked out with your help. Thanks. I'm now looking at bound
checks that an Ada program has, so I can remove all possible. It seams
that Ada already does some optimization to remove bound checks. Do you
know how are they done, and where?
I tested two codes (below) and the first code did not produce any bound
check and the second produced two bound checks.
--
-- Simple
2010 Mar 05
2
[LLVMdev] LLVM-gcc for Ada
I am trying to build llvm-gcc-4.2 but cannot figure out how to get past the problem described below.
Any help will be much appreciated.
Regards
Roger
gnatbind -C -I- -I. -Iada -I../../llvm-gcc-4.2/gcc/ada -o ada/b_gnat1.c -n ada/gnat1drv.ali
error: "s-imenne.adb" must be compiled
error: ("/opt/gnat-gpl-2009/lib/gcc/i386-apple-darwin10.2.0/4.3.4/adalib/s-imenne.ali" is obsolete
2009 Jun 02
0
[LLVMdev] LLVM-gcc for Ada
Hi Eric,
> I'm having problems building llvm-gcc for Ada, which may or may not be
> similar to the trouble Andre was having recently. I'm trying to build
> it on Fedora 10 (32-bit), using the instructions on the web site. The
> make terminates with a gnatbind error:
>
> gcc -c -g -O2 -gnatpg -gnata -I- -I. -Iada
> -I../../llvm-gcc-4.2/gcc/ada
2010 Aug 31
2
[LLVMdev] Using LLVM with Ada
Dear Duncan,
thank you for the prompt reaction!
Quoting Duncan Sands <baldrick at free.fr>:
> Hi Enrico, did you follow the instructions here
> http://llvm.org/docs/GCCFEBuildInstrs.html#ada
> to build llvm-gcc with Ada support?
Yes. I succesfully followed the instructions to build the LLVM Ada f-e.
> If by 2.5 you mean LLVM-2.5 I suggest you use something more recent,
2009 Jun 02
1
[LLVMdev] LLVM-gcc for Ada
Duncan Sands wrote:
> Hi Eric,
>
>
>> I'm having problems building llvm-gcc for Ada, which may or may not be
>> similar to the trouble Andre was having recently. I'm trying to build
>> it on Fedora 10 (32-bit), using the instructions on the web site. The
>> make terminates with a gnatbind error:
>>
>> gcc -c -g -O2 -gnatpg -gnata
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 Jun 02
2
[LLVMdev] LLVM-gcc for Ada
I'm having problems building llvm-gcc for Ada, which may or may not be
similar to the trouble Andre was having recently. I'm trying to build
it on Fedora 10 (32-bit), using the instructions on the web site. The
make terminates with a gnatbind error:
gcc -c -g -O2 -gnatpg -gnata -I- -I. -Iada
-I../../llvm-gcc-4.2/gcc/ada ../../llvm-gcc-4.2/gcc/ada/gnat1drv.adb -o
ada/gnat1drv.o
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.
>
2008 Nov 02
3
[LLVMdev] Porting llvm-gcc-4.2
Hello,
how would I go porting llvm-gcc-4.2 to an “unknown” platform, i.e.
MirBSD? For regular gcc, I’d have to add stuff to gcc/gcc/config/
and patch quite some configure scripts, but seeing that llvm-gcc
uses LLVM for target specific stuff, how much of this still applies?
cpp defines and startup files at the least, probably, for the com-
piler driver…
Which dependencies does llvm-gcc-4.2 have,
2008 Nov 03
0
[LLVMdev] Porting llvm-gcc-4.2
llvm-gcc bits are but a small part of it. You need to add a new target
to llvm. Please read llvm documentation and llvmdev archieve for more
information.
Evan
On Nov 2, 2008, at 7:38 AM, Thorsten Glaser wrote:
> Hello,
>
> how would I go porting llvm-gcc-4.2 to an “unknown” platform, i.e.
> MirBSD? For regular gcc, I’d have to add stuff to gcc/gcc/config/
> and patch quite
2009 May 25
1
[LLVMdev] LLVM-gcc for Ada
Hello,
I'm trying to build LLVM-gcc to compile Ada. But I'm having a few problems.
First thing I did was install gnat 2007. In the bin directory there is a
gcc version 4.1. So I think that these versions are good for Ada.
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:
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 Mar 05
0
[LLVMdev] LLVM-gcc for Ada
Hi Roger,
> I am trying to build llvm-gcc-4.2 but cannot figure out how to get past the problem described below.
you need to build with GNAT GPL 2007 or earlier, as described here:
http://llvm.org/docs/GCCFEBuildInstrs.html
This is because llvm-gcc-4.2 is based on gcc-4.2, and you have the same problem
with gcc-4.2. I don't know if anyone ever built an Ada-enabled llvm-gcc on
MacOS
2005 May 06
0
[fdo] Shared Mime Info
Hello
First I don't know if this is the correct list, so please point me
further if it isn't.
I noticed that the shared-mime-info contained this entry for the Ada95
programming language:
<mime-type type="text/x-adasrc">
<comment>Ada source code</comment>
<comment xml:lang="de">Ada-Quelltext</comment>
<comment
2005 Jul 04
0
Problem linking with libdb
Hello,
I am trying to compile iproute2 but something does not work when
linking with libdb.
This is what I am using:
- iproute2-ss050607
- linux 2.4.22
- make 3.79.1
- gcc 2.95.3
- ld 2.15
When I type make, it ends somewhere in ./misc with the following error
message:
make output starts here:
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
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:
2010 Aug 31
0
[LLVMdev] R: Re: Using LLVM with Ada
Dear Duncan,
Thank you for your valuable support!
Regards
Enrico
------Messaggio originale------
Da: Duncan Sands
A: Enrico Mezzetti
Cc: llvmdev at cs.uiuc.edu
Inviato: 1 Set 2010 3:42 ma
Oggetto: Re: [LLVMdev] Using LLVM with Ada
Hi Enrico,
>> If by 2.5 you mean LLVM-2.5 I suggest you use something more recent, for
>> example LLVM-2.7.
>
> I was probably misled by the
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
2004 Oct 04
1
[LLVMdev] cfrontend-1.3.source: Compilation error
This is a forward of a question from the SourceForge LLVM forum. If
anyone has experience with Cygwin and building the C front-end there,
please reply and CC Alex.
--- Post by Alex Vinokur below ---
===============
Windows 2000
GNU gcc 3.3.3 (cygwin special)
===============
./configure
./make
I have got compilation error
-------------------------------
make[1]: Entering directory