|
|
Line 17: |
Line 17: |
| ==== Launch ==== | | ==== Launch ==== |
|
| |
|
| From a Bourne-style shell, do this:
| | Use <code>mach run --dmd</code>. |
| | |
| LD_PRELOAD=$OBJDIR/dist/bin/libdmd.so \
| |
| LD_LIBRARY_PATH=$OBJDIR/dist/bin/ \
| |
| DMD=1 \ # or replace the '1' with one or more DMD options (see below)
| |
| <command>
| |
| | |
| If you want to run under gdb, do this:
| |
| | |
| LD_PRELOAD=$OBJDIR/dist/bin/libdmd.so \
| |
| LD_LIBRARY_PATH=$OBJDIR/dist/bin/ \
| |
| DMD=1 \ # or replace the '1' with one or more DMD options (see below)
| |
| gdb --args <command>
| |
|
| |
|
| ==== Trigger ==== | | ==== Trigger ==== |