How I can compile my scala code into executable application with scala-llvm?

456 views
Skip to first unread message

Timothy Klim

unread,
Jul 25, 2012, 10:56:05 AM7/25/12
to scala...@googlegroups.com
Readme does not described this step.

Geoff Reedy

unread,
Jul 28, 2012, 4:47:45 PM7/28/12
to Timothy Klim, scala...@googlegroups.com

On Jul 25, 2012, at 8:56 AM, Timothy Klim wrote:

> Readme does not described this step.

Theoretically you can use

make bin/example.aot

in docs/examples/llvm to compile the example program to a native executable but it isn't working at the moment. It fails because of undefined symbols. The JIT version of the sample works because unless the symbol is actually used it does not matter if it is available. Also, most any normal scala program will not work since many parts of the standard library are not compatible yet with LLVM (because of java library dependencies).
Reply all
Reply to author
Forward
0 new messages