Skip to content

Commit e7d1c31

Browse files
committed
readme
1 parent a60a6da commit e7d1c31

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
./class2ir/target
33
./class2ir/.idea
44
./app/out/classes
5+
./app.exe

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,29 @@
22
#java2llvm
33
An Example Project Show Convert Java Byte Code to LLVM IR assembler , compile standalone executable file
44

5-
This project is baseed on [class2ir](https://github.com/MParygin/class2ir)
5+
This project is based on [class2ir](https://github.com/MParygin/class2ir)
66

77
Class2ir look like based on an old llvm version, it can't running on greate than llvm 3.9.
88
So i changed some instruct syntex, and repair bug.
99
The class2ir can print number on console.
1010

1111
Currently:
12-
Can generte linux x64 executable file.
12+
Tested CentOS x64 executable file.
1313

1414
Make:
15-
1. Enter directory java2exe/
16-
2. Run java -jar target/
15+
1. Enter directory java2llvm/
16+
2. Run build.sh, then you will get app.exe here.
17+
18+
Request:
19+
java
20+
llvm / clang
21+
make
1722

1823
Known issue:
1924
1. No GC.
20-
2. May be some of java instruction can't work, need test
21-
3. some of java instruction no convertion, see MV.java
22-
25+
2. Maybe some of java instruction can't work, need test
26+
3. some of java instruction not implementation , see MV.java
27+
4. Object memory allocation
2328

2429
change log:
2530
1. Add base class java.lang.*, java.io.PrintStream

0 commit comments

Comments
 (0)