Building OpenJDK with a more recent compiler
Dalibor Topic
Dalibor.Topic at Sun.COM
Tue Sep 16 18:53:52 UTC 2008
BOB.NETTLETON at ORACLE.COM wrote:
> This works fine for building the compiler, but I run into a problem
> when I attempt a JDK7 build with ALT_COMPILER_PATH set. While the
> setting allows me to specify the location of the new gcc binary, there
> doesn't appear to be a simple way to add any libraries that the new
> gcc is dependant on. Setting LD_LIBRARY_PATH won't fix the problem,
> since the build scripts un-set that environment variable in the setup
> script.
Hi Bob,
that's probably because GMP and MPFR have been built as dynamic
libraries. I'd suggest rebuilding them as static libraries, and then
reconfiguring and rebuilding gcc with them.
cheers,
dalibor topic
--
*******************************************************************
Dalibor Topic Tel: (+49 40) 23 646 738
Java F/OSS Ambassador AIM: robiladonaim
Sun Microsystems GmbH Mobile: (+49 177) 2664 192
Nagelsweg 55 http://openjdk.java.net
D-20097 Hamburg mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring
More information about the build-dev
mailing list