[LLVMdev] dragon egg + llvm for fortran to c translation

Dmitry Mikushin dmitry at kernelgen.org
Fri Mar 1 08:02:36 PST 2013


DragonEgg only converts GCC's IR to LLVM IR. And -march=c is C backend. We
used it for a while last year, but its support has been dropped several
months ago. There are people, who are still using it privately, as far as I
know.

- D.

2013/3/1 Philipp Schwaha <philipp at schwaha.net>

> hi!
>
> I would like to know if it is feasible to use the dragon egg gcc plugin to
> automatically convert fortran code to c. Having found that it is possible
> to output llvm byte code back to c (at least something like this gave me
> this impression/hope: llc -march=c -o test.c) I am hoping to use dragon egg
> to generate the byte code from fortran 90 which than output to c.
> Does this seem feasible at all? How much in terms of variable names etc.
> could be retained in this manner?
>
> thanks for any suggestions or comments
>    Philipp
> ______________________________**_________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/**mailman/listinfo/llvmdev<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130301/f915decf/attachment.html>


More information about the llvm-dev mailing list