42 #define JVM_DLL "libjvm.so" 43 #define JAVA_DLL "libjava.so" 44 #define LD_LIBRARY_PATH "LD_LIBRARY_PATH" 45 46 /* help jettison the LD_LIBRARY_PATH settings in the future */ 47 #ifndef SETENV_REQUIRED 48 #define SETENV_REQUIRED 49 #endif 50 /* 51 * If a processor / os combination has the ability to run binaries of 52 * two data models and cohabitation of jre/jdk bits with both data 53 * models is supported, then DUAL_MODE is defined. When DUAL_MODE is 54 * defined, the architecture names for the narrow and wide version of 55 * the architecture are defined in LIBARCH64NAME and LIBARCH32NAME. 56 * Currently only Solaris on sparc/sparcv9 and i586/amd64 is DUAL_MODE; 57 * linux i586/amd64 could be defined as DUAL_MODE but that is not the 58 * current policy. 59 */ 60 61 #ifdef __solaris__ 62 # ifdef DUAL_MODE 63 # undef DUAL_MODE 64 # endif 65 # ifndef LIBARCH32NAME 66 # error "The macro LIBARCH32NAME was not defined on the compile line" 67 # endif 68 # ifndef LIBARCH64NAME 69 # error "The macro LIBARCH64NAME was not defined on the compile line" 70 # endif 71 # include <sys/systeminfo.h> 72 # include <sys/elf.h> 73 # include <stdio.h> 74 #endif 75 76 /* 77 * Flowchart of launcher execs and options processing on unix 78 * 79 * The selection of the proper vm shared library to open depends on 80 * several classes of command line options, including vm "flavor" 81 * options (-client, -server) and the data model options, -d32 and 82 * -d64, as well as a version specification which may have come from 83 * the command line or from the manifest of an executable jar file. 84 * The vm selection options are not passed to the running | 42 #define JVM_DLL "libjvm.so" 43 #define JAVA_DLL "libjava.so" 44 #define LD_LIBRARY_PATH "LD_LIBRARY_PATH" 45 46 /* help jettison the LD_LIBRARY_PATH settings in the future */ 47 #ifndef SETENV_REQUIRED 48 #define SETENV_REQUIRED 49 #endif 50 /* 51 * If a processor / os combination has the ability to run binaries of 52 * two data models and cohabitation of jre/jdk bits with both data 53 * models is supported, then DUAL_MODE is defined. When DUAL_MODE is 54 * defined, the architecture names for the narrow and wide version of 55 * the architecture are defined in LIBARCH64NAME and LIBARCH32NAME. 56 * Currently only Solaris on sparc/sparcv9 and i586/amd64 is DUAL_MODE; 57 * linux i586/amd64 could be defined as DUAL_MODE but that is not the 58 * current policy. 59 */ 60 61 #ifdef __solaris__ 62 # ifndef LIBARCH32NAME 63 # error "The macro LIBARCH32NAME was not defined on the compile line" 64 # endif 65 # ifndef LIBARCH64NAME 66 # error "The macro LIBARCH64NAME was not defined on the compile line" 67 # endif 68 # include <sys/systeminfo.h> 69 # include <sys/elf.h> 70 # include <stdio.h> 71 #endif 72 73 /* 74 * Flowchart of launcher execs and options processing on unix 75 * 76 * The selection of the proper vm shared library to open depends on 77 * several classes of command line options, including vm "flavor" 78 * options (-client, -server) and the data model options, -d32 and 79 * -d64, as well as a version specification which may have come from 80 * the command line or from the manifest of an executable jar file. 81 * The vm selection options are not passed to the running |