Hello,
      Its a basic doubt of how to run a manually compiled program in FS mode.

1) the program should be compiled without --static.
2) I have modified the .rcS script like this 

cd /home/Desktop/try
/sbin/m5 switchcpu
/sbin/m5 dumpstats
/sbin/m5 resetstats
./greater   # (greater executable is in /home/Desktop/try)
Echo "Done :D"
/sbin/m5 exit


the program ./greater is not executed but i get these error message in system
.terminal file 

/tmp/script: line 1: cd: /home/Desktop/try : No Such file or directory
/tmp/script: line 5: ./home/Desktop/try/greater  : No Such file or directory


can you please tell me where should i make the changes to validate these paths 
and to execute the program?

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to