README revision 12677:a4299d47bd00
1147997Srwatson 2155552SrwatsonThe unit tests in this directory depend on a native launcher library 3147997Srwatson(libLauncher.so). This native library is built off-line and the 4147997Srwatsonresulting libLauncher.so for each processor/OS combination is checked 5147997Srwatsoninto the workspace. The reason for this is because the test environment 6147997Srwatsonmay not have the required compilers/build environment. 7147997Srwatson 8147997SrwatsonIn order to rebuild libLauncher.so the following is required :- 9147997Srwatson 10147997Srwatson1. Check-out each of the shared libraries (sccs edit) 11147997Srwatson 12147997Srwatson2. Edit Launcher.c with the appropriate changes 13147997Srwatson 14147997Srwatson3. Execute the make script (gnumake all) on each processor/OS so 15147997Srwatsonthat the appropriate lib/<platform>/libLauncher.so is built. 16147997Srwatson 17147997Srwatson4. Test the changes 18147997Srwatson 19147997Srwatson5. Check-in each of the shared library (sccs delget) 20147997Srwatson 21147997Srwatson 22147997SrwatsonFor step 4 (re-building libLauncher.so) the following environment is required: 23147997Srwatson 24147997Srwatson(a) JAVA_HOME needs to be set to J2SE directory, eg:- 25147997Srwatson export JAVA_HOME=/usr/local/java/jdk1.5/solaris-sparc 26147997Srwatson 27147997Srwatson(b) For Solaris the SOS8 'cc' needs to be on the PATH, check using: 28147997Srwatson # cc -V 29147997Srwatson cc: Sun C 5.5 2003/03/12 30222813Sattilio 31147997Srwatson(c) Execute the make script :- 32147997Srwatson Solaris: gnumake all 33148627Srwatson Linux: gmake all 34148627Srwatson