Hi Arnold,<div><br></div><div>Thank you. I googled but missed the release notes.</div><div><br></div><div>Regards.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 6, 2012 at 12:13 AM, Arnold Schwaighofer <span dir="ltr"><<a href="mailto:arnold.schwaighofer@gmail.com" target="_blank">arnold.schwaighofer@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The C Backend was  remove in 3.1<br>
(<a href="http://llvm.org/releases/3.1/docs/ReleaseNotes.html" target="_blank">http://llvm.org/releases/3.1/docs/ReleaseNotes.html</a>):<br>
<br>
"Major Changes and Removed Features<br>
...<br>
The C backend has been removed. It had numerous problems, to the point<br>
of not being able to compile any nontrivial program."<br>
<div><div class="h5"><br>
On Wed, Dec 5, 2012 at 10:00 AM, Mingliang LIU <<a href="mailto:liuml07@gmail.com">liuml07@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I met an error when I run the llc command to transform a bitcode file to C<br>
> code (source to source):<br>
> $ llc -march=c -o foo.c foo.ll<br>
> However, it said "llc: error: invalid target 'c'." I checked the 'llc<br>
> --version' only to find that there is no c as target. The cpp was there,<br>
> which makes calls against the LLVM C++ API. But that's not what I want.<br>
><br>
> I configured my LLVM with default options, thus I supposed the 'cbe' should<br>
> have been enabled as a supported target. Nevertheless, I tried to enable it<br>
> explicitly:<br>
> $ ../configure --enable-targets=cbe<br>
> It occurred the error: "configure: error: Unrecognized target cbe"<br>
><br>
> Any clue?<br>
><br>
> Thank you.<br>
> --<br>
> Mingliang LIU (刘明亮 in Chinese)<br>
><br>
> PACMAN Group,  Dept. of Computer Science & Technology<br>
> Tsinghua University, Beijing 100084, China<br>
> Email: <a href="mailto:liuml07@mails.tsinghua.edu.cn">liuml07@mails.tsinghua.edu.cn</a><br>
> Homepage: <a href="http://pacman.cs.tsinghua.edu.cn/~liuml07/" target="_blank">http://pacman.cs.tsinghua.edu.cn/~liuml07/</a><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" color="#666666">Mingliang LIU (刘明亮 in Chinese)<br><br>PACMAN Group,  Dept. of Computer Science & Technology<br>

Tsinghua University, Beijing 100084, China<br>Email: <a href="mailto:liuml07@mails.tsinghua.edu.cn" target="_blank">liuml07@mails.tsinghua.edu.cn</a></font><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" color="#666666">Homepage: <a href="http://pacman.cs.tsinghua.edu.cn/~liuml07" style="line-height:19px;text-align:center" target="_blank">http://pacman.cs.tsinghua.edu.cn/~liuml07/</a></font></div>

<br>
</div>