The best is that you edit files in a CSIL machine, then copy files to meiko directory ( use ftp or rcp).
In compiling a program prog.c (or fprog.f), you can use the following command, or modify the makefile in the sample directory.
cc -I/opt/MEIKOcs2/include prog.c -L/opt/MEIKOcs2/lib -lmpsc -lew -lelan -o prog or f77 prog.f -L/opt/MEIKOcs2/lib -lmpsc -lew -lelan -o prog
When you compile, and run your program, make sure your current directory is under /export/tmphome.