[LLVMdev] C back-end differences

me22 me22.ca at gmail.com
Fri May 11 20:15:42 PDT 2007


On 11/05/07, Mohd-Hanafiah Abdullah <napi at axiomsol.com> wrote:
> I've been looking for a C++ to C translator for quite some time.
> The purpose is to support C++ for the compiler I developed targeting the
> JVM.  But the compiler I wrote only supports ANSI C (1989).  So the C++
> to C translator is needed, and among the options are as follows:
> [...]
> c) LLVM (tried, but the resulting C code is quite hairy, pardon the
>    expression)
>
So you just want to feed the C code to your C-to-JVM compiler? I don't
understand why "hairy" code would be a problem for that usage.

As a different option, how about writing a JVM backend for LLVM?



More information about the llvm-dev mailing list