LJ Archive

How to Compile and Run Listing 4

Linux:

gcc -DLINUX -o integrator integrator.c -lm
Cygwin:
gcc -DCYGWIN -o integrator.exe integrator.c \
   -lm -lwinmm
IRIX:
gcc -DIRIX -o integrator integrator.c -lm -laudio
Linux:
wish -f duffing2.tcl | integrator |
   wish -f out.tcl
Cygwin:
itcl_wish -f duffing2.tcl | integrator |
   itcl_wish -f out.tcl
IRIX:
wish -f duffing2.tcl | integrator |
   wish -f out.tcl
LJ Archive