Building OpenJDK with a more recent compiler
BOB.NETTLETON at ORACLE.COM
BOB.NETTLETON at ORACLE.COM
Tue Sep 16 15:20:30 UTC 2008
Hi Christian,
I've installed the GMP and MPFR libraries to separate directories other than /usr/lib or /usr/bin. When I built gcc, I used the configuration setting to point towards the local builds of these libraries.
When you mention copying the libraries into the toolchain, is there a particular directory you're referring to? I've tried copying the shared objects into the "lib" directory of the gcc build, but this did not solve the problem.
thanks,
Bob
-----Original Message-----
From: Christian Thalinger [mailto:twisti at complang.tuwien.ac.at]
Sent: Tuesday, September 16, 2008 11:00 AM
To: BOB.NETTLETON at ORACLE.COM
Cc: build-dev at openjdk.java.net
Subject: Re: Building OpenJDK with a more recent compiler
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.
- Christian
More information about the build-dev
mailing list