| 1 | <html> |
| 2 | <body> |
| 3 | |
| 4 | A debugger contributed to xtc that integrates Java with C. |
| 5 | |
| 6 | <h3>Prerequisites</h3> |
| 7 | |
| 8 | You need Java 1.5, gdb, and the usual GNU tooling (in particular, gdb |
| 9 | and make). We have tested Blink under Linux 2.6 with HotSpot. |
| 10 | |
| 11 | <h3>Environment variables</h3> |
| 12 | |
| 13 | <table> |
| 14 | <tr><th>JAVA_DEV_ROOT</th> |
| 15 | <td>set this such that $JAVA_DEV_ROOT/xtc is the top-level xtc directory</td></tr> |
| 16 | <tr><th>PATH_SEP</th> |
| 17 | <td>':' for MacOS or Linux, or ';' for Cygwin</td></tr> |
| 18 | <tr><th>CLASSPATH</th> |
| 19 | <td>$JAVA_DEV_ROOT/classes$PATH_SEP$JAVA_DEV_ROOT/bin/junit.jar$PATH_SEP$JAVA_DEV_ROOT/bin/antlr.jar</td></tr> |
| 20 | <tr><th>JAVA_HOME</th> |
| 21 | <td>set this such that $JAVA_HOME/bin/java is the Java virtual machine</td></tr> |
| 22 | <tr><th>CPATH</th> |
| 23 | <td>should include the directory that contains jni.h, which is most likely $JAVA_HOME/include</td></tr> |
| 24 | <tr><th>PATH</th> |
| 25 | <td>should include $JAVA_HOME/bin</td> |
| 26 | <tr><th>OSTYPE</th> |
| 27 | <td>should be either cygwin, or have linux or darwin as a substring</td></tr> |
| 28 | </table> |
| 29 | |
| 30 | |
| 31 | </body> |
| 32 | </html> |