Building OpenJDK with a more recent compiler
twisti at complang.tuwien.ac.at
Tue Sep 16 07:59:44 PDT 2008
On Tue, 2008-09-16 at 14:49 +0000, BOB.NETTLETON at ORACLE.COM wrote:
> Unfortunately, the "gcc" install (v3.4.6) on my machine is not the
> version required by the build instructions. Since I don't have root
> access on my box, I worked on pulling down a more recent version of
> gcc (v4.3.1) and building it for my Linux machine. In order to build
> the gcc tool, I needed updated versions of two GNU libraries (GMP,
> MPFR). Since I can't update /usr/lib with these libraries, I needed
> to use the --prefix option to build gcc.
Where did you install these libraries? When I cross-compile OpenJDK, or
other stuff, I normally copy the libraries into the toolchain so the
compiler finds them by default.
More information about the build-dev