#!/usr/bin/csh if ( $1 == '' ) then echo ============================================================ echo Welcome to SDT target simulation echo ============================================================ echo This is how to create the target: echo 1} check that environment variable '$sdtdir' is set: echo " "'echo $sdtdir' echo " "if not defined, run 'source "TELELOGICHOME"/bin/telelogic.sou' echo " "check variable again. echo 2} copy the following directories to a place where you have echo " "write access: echo " "$OSTYPE, source, example echo " "remember to copy whole directory structure with echo " "'cp -r source/* MYDIR/.' ,etc... echo 3} goto your new installation, same directory as this README file. echo " "Now you can start compilation. Our makefiles for this system echo " "is setup to run with gcc. You can change options in echo " "target/Makefile and in sctworld/makeoptions to suite your needs. echo 4} run this file again with README make to create target, echo " "this can take about 5 minutes on slow machines. echo ------------------------------------------------------------ echo 5} edit tarsim.cfg so it gets correct IP-address echo " "note that only "dot-form" can be used, i.e. 111.22.33.44 echo " "See target simulation documentation for more info. echo 6} start sdt from the same directory as host_smr.sct and tarsim.cfg echo " "or set env variable TARSIMPATH to the directory of tarsim.cfg echo 7} start target with "demongame_rsim.sct" echo " "you will se no activity from target, it waits to be called echo " "from host. echo 8} on host start Simulator UI from SDT Organizer. File-open host_smr.sct echo " "host.sct will read tarsim.cfg and try to connect to target. echo " "you can then make a simulation as normal, but now remote via TCP echo 9} remember that this demo waits for a signal "NewGame". echo " "this is the same as our standard demongame, and you should echo " "before tracing use "Send-Via", chose "NewGame" and "C1" echo " "from the Simulator UI. echo 10} If you want to delete unnecessary files from compilation, echo " "enter "README clean" echo ============================================================ echo End of README echo ============================================================ exit endif if ( $1 == make || $1 == MAKE) then if ( $?sdtdir == 0 ) then echo '$sdtdir' not set! - no make done! exit 1 endif echo echo building post.o --special version for TCP/IP com -- cd target make cd ../sctworld echo building sctworld --new run time library with TCP post.o-- make SDTlib cd .. echo bulding demo example demongame make -f demonmake endif if ( $1 == clean || $1 == CLEAN) then cd target rm post.o cd ../sctworld rm sctpost.o rm sctpred.o rm sctutil.o rm sctmon.o rm sctsdl.o rm sctos.o cd .. rm core endif