[PATCH] Respect STATIC_CXX value when linking libjvm

Diego 'Flameeyes' Pettenò flameeyes at gmail.com
Sat Jun 9 14:55:35 PDT 2007


the attached patch makes the libjvm link stage respect the STATIC_CXX
value passed by the user during build. While it's true that a package
that should be deployed on heterogeneous systems is best linked
statically to GCC's libstdc++, as the ABI is susceptible to changes,
distributions tend to be able to take care of their ABI and their
dependencies on their own, so linking shared for them is an advantage.

At the moment, although some parts of openjdk actually follow the
STATIC_CXX value, libjvm will not link to libstdc++ dynamically, that's
why the patch is needed.

Diego "Flameeyes" Pettenò
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynamic-libstdc++.patch
Type: text/x-patch
Size: 801 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20070609/bc8dfc88/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20070609/bc8dfc88/attachment-0001.bin 

More information about the hotspot-dev mailing list