ECL builds fine with clang on OS X (See http://ecls.sourceforge.net/logs.html). 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.

Juanjo

On Wed, Jun 1, 2011 at 2:58 PM, David Creelman <creelman.david@gmail.com> wrote:
Hi List,
Was just wondering if anyone had tried compiling ECL with LLVM...
The latest release of LLVM looks relatively complete as far as C compilation
goes and compiling to the LLVM style assembler looks to provide lots of
opportunities for translating to strange environments like JavaScript.
I was thinking primarily of things like http://emscripten.org which allow
running C apps in Javascript. They've "ported" Doom to javascript, it works
fairly well on a modern browser on a fast machine.
One of the emscripten demos is running Lua in a page in javascript translated
from C. There are also some nice GL demos (via WebGL). I thought it might be
interesting to have ECL running in a page on a web browser. Even as a
teaching tool it would be interesting.
Regards
David


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list



--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com