Several questions about LLVM

Hello,

I'm new to LLVM but I see lots of potential on it for something that I'm working on.
I have a few questions about it:

1) I know there is a MSIL backend which is still at an experimental phase. When will it be ready? The same question for the MIPS backend.
2) Is there any plan or work being done to implement a Java backend?
3) I saw the passes feature. I think this can be very useful to implement a weaver for Aspect Oriented Programming. Once again, I ask if anybody is working on this or if there is already a AOP tool that can be used with llvm bitcode.
4) For the work that I'm doing, besides C and C++, it would be great to have a Fortran frontend. Would it be very hard to compile the llvm-gcc with suport for fortran?

Hi Eduardo,

I'm new to LLVM but I see lots of potential on it for something that I'm
working on.
I have a few questions about it:

1) I know there is a MSIL backend which is still at an experimental
phase. When will it be ready? The same question for the MIPS backend.

These platforms currently don't have active developers. So there isn't
a projected date for when they will be ready.

2) Is there any plan or work being done to implement a Java backend?

None at the moment. However, there is the VMKit project
(http://vmkit.llvm.org/) that uses LLVM technologies to implement the
Java and CLI VMs.

3) I saw the passes feature. I think this can be very useful to
implement a weaver for Aspect Oriented Programming. Once again, I ask if
anybody is working on this or if there is already a AOP tool that can be
used with llvm bitcode.

Not that I'm aware of. . .

4) For the work that I'm doing, besides C and C++, it would be great to
have a Fortran frontend. Would it be very hard to compile the llvm-gcc
with suport for fortran?

That's being actively worked on by people right now. I believe that
you can compile it on a Linux box but not on a Mac box. I don't know
about other platforms.

-bw

Hello, Eduardo

I think these questions were answered yesterday, but:

1) I know there is a MSIL backend which is still at an experimental
phase. When will it be ready?

When there will be someone, which will finish it. Without such brave
soul I'd say "never". Currently it's definitely bitrotten and I
personally don't see the future for it expect "proof-of-concept" and
"backend for someone to start from"
.

4) For the work that I'm doing, besides C and C++, it would be great to
have a Fortran frontend. Would it be very hard to compile the llvm-gcc
with suport for fortran?

There is (still experimental though) support for fortran and ada
frontends mostly on x86/linux. You can even find some numbers from
running SPEC/polyhedron testsuites on llvm-gfortran. They are also
mentioned in release notes maybe for 2-3 past releases already.

Anton Korobeynikov wrote:

Hello, Eduardo

I think these questions were answered yesterday, but:

1) I know there is a MSIL backend which is still at an experimental
phase. When will it be ready?
    

When there will be someone, which will finish it. Without such brave
soul I'd say "never". Currently it's definitely bitrotten and I
personally don't see the future for it expect "proof-of-concept" and
"backend for someone to start from"
.
  

4) For the work that I'm doing, besides C and C++, it would be great to
have a Fortran frontend. Would it be very hard to compile the llvm-gcc
with suport for fortran?
    

Another option is to use a FORTRAN to C compiler to convert your FORTRAN code to C and then compile the output using llvm-gcc. We've done that internally at University of Illinois.

-- John T.

The only fortran to C compiler that I know of, only accepts Fortran 77. Fortran 90, 95 and up, aren't supported by any tool...

John Criswell escreveu:

Yes, I want to run it in x86/linux.
Where do I find information on how to compile it to support Fortran?

Anton Korobeynikov escreveu:

Eduardo Brito wrote:

The only fortran to C compiler that I know of, only accepts Fortran 77. Fortran 90, 95 and up, aren't supported by any tool...
  

We have a commercial FORTRAN to C tool from NAG; I believe it supports Fortran 95 and maybe even later versions.

Their website is at http://www.nag.co.uk (http://www.nag.com for North America).

-- John T.

I'm working in a research project at the university. It's better if I only use open sourced and/or free versions of software.

-----Mensagem original-----

Where do I find information on how to compile it to support Fortran?

Just add fortran to the --enable-languages= list.

Ciao,

Duncan.