REVISED: IcedTea built on Gentoo
kgallowa at redhat.com
Thu Jun 14 12:02:47 PDT 2007
I have just committed a change to IcedTea that will simplify this
process. Though this procedure was done on a Gentoo system, it can be
easily adapted to just about any Linux distro by changing the paths
supplied to configure appropriately.
I have also got some input from the Gentoo Java team about using the GCJ
overlay. I have included it below as an alternative for anyone who
wants to use that approach, is running Gentoo, and is comfortable using
> 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
> mkdir gcc-build
> cd gcc-build
> ../gcc/configure --prefix=<installation dir> --exec-prefix=<installation
> make && make install
OR if you are running Gentoo.
Use the Gentoo GCJ overlay, see instructions:
Now that javac.in has been patched, it is no longer necessary to use the
patch I sent, or modify the source tree in any way. Simply:
> 3. Configure and build IcedTea
> ./configure --with-ecj=/usr/bin/ecj-3.2
> --with-libgcj-jar=<gcc installation dir>/share/java/libgcj-4.1.3.jar
And there you have it.
More information about the distro-pkg-dev