[LLVMdev] C++ -> C translation problems

Aaron Gray angray at beeb.net
Sun Apr 8 12:11:50 PDT 2007


> Hi All,
> I am trying to use llvm compiler to translate a non-trivial piece of code 
> from C++ to C.
> I need this because I need to use part of the code as lib for another 
> project that is strictly C.
> I am working under MSWin and I have choice to use either BCC or MSVC.

You could try Comeau C++ :-

        http://www.comeaucomputing.com/

It generates C from C++ and targets several C compilers including (old) MSVC 
C compilers.

Its not free but is resonably priced.

Good luck,

Aaron




More information about the llvm-dev mailing list