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:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 11:00 AM To: [EMAIL PROTECTED] Cc: [email protected] Subject: Re: Building OpenJDK with a more recent compiler On Tue, 2008-09-16 at 14:49 +0000, [EMAIL PROTECTED] 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
