Displaying 1 result from an estimated 1 matches for "37cf29b0".
Did you mean:
34cf2db0
2008 Oct 11
1
[LLVMdev] C++ to C?
On Oct 11, 2008, at 12:49 AM, Duncan Sands wrote:
> On Friday 10 October 2008 20:29:49 Michael wrote:
>> What command and options should be used to convert C++ to C?
>
> Try this:
>
> llvm-gcc -c -O3 -emit-llvm file.cpp -o - | llc -march=c -o -
>
> It should spray C code to standard out.
Bear in mind that if you use features from the C++ library, you are
still going