[LLVMdev] Re: C back-end for llvmg++

Reid Spencer reid at x10sys.com
Fri Nov 19 20:02:32 PST 2004


The llvmc support for C/C++ isn't quite there yet. I'm still working on
a few features to integrate llvmc and llvm-ld. Once that is done, I'll
fix the config file for c and c++. When that's done you'd be able to
just:

llvmc -o infile.cbe.c infile.cpp -march=c

Reid.

On Fri, 2004-11-19 at 19:51, Vikram Adve wrote:
> On Nov 19, 2004, at 9:25 PM, Mohd-Hanafiah Abdullah wrote:
> 
>         Dear Dr Vikram:
>         
>         I need to know how to invoke llvmg++ so that it generates C
>         code.
> 
> Here's how you can do a single file (i.e., an unlinked executable):
> 
> llvmg++ -c infile.cpp -o - | llc -march=c -o infile.cbe.c
> 
> Reid might be able to tell you how to do it with a single commandusing
> the llvmc tool.
> 
> In future, please send your questions to llvmdev at cs.uiuc.edu (and
> addyourself to that list if you're not on it, because all replies go
> tothe list by default).
> 
>         Thanks and kind regards
>         
>         Napi
>         
>         
> 
> Good luck,
> 
> --Vikram
> http://www.cs.uiuc.edu/~vadve
> http://llvm.cs.uiuc.edu/
> 
> 
> 
> 
> ______________________________________________________________________
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041119/5194f27a/attachment.sig>


More information about the llvm-dev mailing list