1 2 The unit test DirectIO.java in this directory depend on a native library 3 (libDirectIO). This native library is built off-line and the 4 resulting libDirectIO.so or libDirectIO.dylib for each processor/OS 5 combination is checked into the workspace. The reason for this is because 6 the test environment may not have the required compilers/build environment. 7 8 In order to rebuild libDirectIO the following is required :- 9 10 1. Check-out each of the shared libraries (sccs edit) 11 12 2. Edit DirectIO.c with the appropriate changes 13 14 3. Execute the make script (gnumake all) on each processor/OS so 15 that the appropriate lib/<platform>/libDirectIO.so or lib/<platform>/libDirectIO.dylib 16 is built. 17 18 4. Test the changes 19 20 5. Check-in each of the shared library (sccs delget) 21 22 23 For step 4 (re-building libDirectIO) the following environment is required: 24 25 (a) JAVA_HOME needs to be set to J2SE directory 26 27 (b) For Solaris the SOS8 'cc' needs to be on the PATH, check using: 28 # cc -V 29 cc: Sun C 5.5 2003/03/12 30 31 (c) Execute the make script :- 32 Solaris: gmake 33 Linux: gmake 34 MacOS: make