gcjx llvm backend

Mike Emmel mike.emmel@gmail.com
Thu Dec 8 15:04:00 GMT 2005


Attached is a snapshot of my inital work on a llvm backend for gcjx.
I will not be able to check email agian till Sunday so please forgive
me if I don't respond quickly to questions.
once the patch is applied
run autoconf automake autoheader
autokitchensink :)
you should be able to configure with
./configure --with-llvm=../../llvm
Where llvm is the top dir of the llvm source.
Here is my little script for running
export LD_LIBRARY_PATH=../gcjx-branch/gcjx/.libs:../../llvm/Debug/libs
#(cd ../gcjx-branch/gcjx/gcjx; make)
prg=../gcjx-branch/gcjx/gcjx
rm Main.cgen
$prg -o llvm -bootclasspath ../gcjx-branch/libjava Main.java
And the test file... note I'm generating very little but I do get something.
public class Main {
 public static void main( String[] args ) {
 int res = add(2,2);
 return;
 }
 static int add( int a, int b ) {
 return a+b;
 }
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcjx.patch
Type: text/x-patch
Size: 47665 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20051208/5a38ab34/attachment.bin>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /