X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=README;h=2f00c8ed9d66ac2b063a59b8e61e96c6662307fc;hb=7f16350f032f8756e174b75218152c089ba6b38d;hp=b8a83f450f2a2cab549f9ef821f5647b14e1ee85;hpb=4ee068a0c45f583892cc29ed79196d58dd474fa7;p=libfirm diff --git a/README b/README index b8a83f450..2f00c8ed9 100644 --- a/README +++ b/README @@ -19,3 +19,26 @@ To generate FIRM code from a compiler frontend read the documentation "libFIRM: A Library for Compiler Optimization Reaserch Implementing Firm", UKA tech-report 2002-5. About Firm you can learn in UKA tech-report 1999-14. + + + +You can generate a Java Native Interface for the library. For this +configure libfirm with --enable-firmjni and give the path to +the jni headers, e.g. +--with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/ + public2/java/jdk1.3.1-sun/include/linux/. +Then go to .//firmjni and call make. To test the native +interface go on to testprograms and call make test. + + +If you are using the library for heap analysis with libfirm you +have to configure libfirm with --enable-heapanalysis. If you +use the heap analysis through the java native interface you +must in addition give the paths to the heap analysis installation: +--with-includedir= +--with-libdir= + + + +You can also give the paths by setting environment variables +CPPFLAGS and LDFLAGS before configuring.