[LLVMdev] C++ to C

Mohd-Hanafiah Abdullah
Sat, 18 Nov 2006 01:16:07 -0000

On Fri, 2006-11-17 at 11:43 -0800, Chris Lattner wrote:
> On Fri, 17 Nov 2006, John Criswell wrote:
> > I don't think you will need to deal with any names.  The C++
standard
> > library has already been compiled to LLVM bytecode (it is part of the
> > llvm-gcc/llvm-g++ distribution).  If you use "llvm-g++
-lstdc++" it
> > should link in whatever libstdc++ functions are needed by your
program;
> > they will get translated to C code along with the rest of your program
> > when you use llc.
>
> Note that that only works with llvm-gcc3.  With llvm-gcc4 you need to
> compile libstdc++ to bytecode explicitly.

Could I use llvm-gcc3 with LLVM version 1.8?

Thanks.

Napi