ECL builds fine with clang on OS X (See <a href="http://ecls.sourceforge.net/logs.html">http://ecls.sourceforge.net/logs.html</a>). Clang is the C compiler built on top of LLVM. As for the other thing, it is not just "build". To make ECL compile to the LLVM target machine one has to rewrite the compiler, because the LLVM intermediate language is not C, but rather some sort of machine agnostic assembler.<div>
<br></div><div>Juanjo<br><br><div class="gmail_quote">On Wed, Jun 1, 2011 at 2:58 PM, David Creelman <span dir="ltr"><<a href="mailto:creelman.david@gmail.com">creelman.david@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi List,<br>
Was just wondering if anyone had tried compiling ECL with LLVM...<br>
The latest release of LLVM looks relatively complete as far as C compilation<br>
goes and compiling to the LLVM style assembler looks to provide lots of<br>
opportunities for translating to strange environments like JavaScript.<br>
I was thinking primarily of things like <a href="http://emscripten.org" target="_blank">http://emscripten.org</a> which allow<br>
running C apps in Javascript. They've "ported" Doom to javascript, it works<br>
fairly well on a modern browser on a fast machine.<br>
One of the emscripten demos is running Lua in a page in javascript translated<br>
from C. There are also some nice GL demos (via WebGL). I thought it might be<br>
interesting to have ECL running in a page on a web browser. Even as a<br>
teaching tool it would be interesting.<br>
Regards<br>
David<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Simplify data backup and recovery for your virtual environment with vRanger.<br>
Installation's a snap, and flexible recovery options mean your data is safe,<br>
secure and there when you need it. Data protection magic?<br>
Nope - It's vRanger. Get your free trial download today.<br>
<a href="http://p.sf.net/sfu/quest-sfdev2dev" target="_blank">http://p.sf.net/sfu/quest-sfdev2dev</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>