Linking against a new shared library file (original) (raw)
Wade Hennessey wadehennessey at gmail.com
Thu Mar 30 02:12:29 UTC 2017
- Previous message (by thread): Linking against a new shared library file
- Next message (by thread): Required Solaris Studio version for jdk9 ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks. I found that after I sent my msg, but the write date on the file made me think it was a generated file. -wade
p.s - yes, I'm using JDK 9.
On Wed, Mar 29, 2017 at 6:00 PM, David Holmes <david.holmes at oracle.com> wrote:
On 30/03/2017 7:53 AM, Wade Hennessey wrote:
I'm trying to figure out how to link libjvm against a shared library that isn't linked against by default. Where in the build system would I specify this new library path? -wade
Assuming JDK 9. /common/autoconf/flags.m4 See JVMLIBS setting eg: # Set $2JVMLIBS (per os) if test "x$OPENJDK$1OS" = xlinux; then $2JVMLIBS="[$]$2JVMLIBS -lm -ldl -lpthread" elif test "x$OPENJDK$1OS" = xsolaris; then # FIXME: This hard-coded path is not really proper. if test "x$OPENJDK$1CPU" = xx8664; then $2SOLARISLIBMLIBS="/usr/lib/amd64/libm.so.1" elif test "x$OPENJDK$1CPU" = xsparcv9; then $2SOLARISLIBMLIBS="/usr/lib/sparcv9/libm.so.1" fi $2JVMLIBS="[$]$2JVMLIBS -lsocket -lsched -ldl $SOLARISLIBMLIBS _-lCrun _ -lthread -ldoor -lc -ldemangle -lnsl -lkstat -lrt" ... David
- Previous message (by thread): Linking against a new shared library file
- Next message (by thread): Required Solaris Studio version for jdk9 ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]