Welcome to the LLJVM virtual environment!
LLJVM is a cool utility by David A Roberts, that transforms simple C programs into Java class files. For more info see https://github.com/davidar/lljvm
Here we capture a moment in time when it was possible to run LLJVM. It's still a useful thing to do, because the input is C and the output is a Java class file, both of which are more or less timeless. We just needed to fill the rusty gap in the middle.
This build consists of:
32-bit Ubuntu 14.04
OpenJDK 1.7.0_75
Clang/LLVM 2.7
Jasmin 2.2
and of course, LLJVM 0.2 (the binary build)
LLJVM is installed here: /usr/local/lib/lljvm -> lljvm-bin-linux-i386-0.2/
It needs to be in your path and has been added to /root/.bashrc.
To mount a local project directory inside the VM as /project do this:
docker run -i -v /your/project/dir:/project -t mhaye/lljvm /bin/bash
To see an example of using LLJVM to transform a C program, do this:
cd /usr/local/src/testProg && lljvm-cc test.c -o test && ./test
Enjoy.
Content type
Image
Digest
sha256:92f931206…
Size
343.1 MB
Last updated
over 11 years ago
docker pull mhaye/lljvm