IcedTea built on Gentoo
kgallowa at redhat.com
Wed Jun 13 09:47:17 PDT 2007
I have now successfully built IcedTea using ecj on Gentoo. Included in
this e-mail are instructions on how to do it for all those Gentoo users
out there who want to hack on IcedTea.
This was done on Gentoo 2007.0 ~x86
1. Required Packages
emerge -av xalan xalan-serializer xerces cups lesstif eclipse-ecj
Some of those are probably already installed, but -av will tell you and
let you confirm whether you want to rebuild any of those.
2. Build a 1.5 compliant libgcj (substitute the stuff in <> with
directories of your choice).
svn co svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_1-branch gcc
../gcc/configure --prefix=<installation dir> --exec-prefix=<installation
make && make install
3. Modify icedtea/javac.in.
In order to get IcedTea to build with your built libgcj you will need to
modify the attached patch to point to your libgcj-4.1.3.jar, then apply
it to javac.in.
patch -p0 < javac_in.patch
4. Configure and build IcedTea
--with-libgcj-jar=<gcc installation dir>/share/java/libgcj-4.1.3.jar
And there you have it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 620 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20070613/dc965a8b/javac_in.patch
More information about the distro-pkg-dev