Thanks for your help.
Actually I meant to compile a workload by gcc command but I wanted to use
this command in the script. Is it possible or I took the wrong way?
Because by telnet-ing and compiling and running workload my trace file are
empty, but when I use script to compile and run my c code the output is not
empty.
I wonder whether there is any way to use "gcc MyCode.c -o out" and "./out "
in script or not. When I compile my c code in the script file, I get this
error: "segmentation fault ".



On Mon, Dec 30, 2013 at 1:29 AM, Tod <[email protected]> wrote:

>   Please have a look at: http://www.m5sim.org/Running_gem5
>
>
> And there is this snippet of a run_script.rcS:
>
>
> echo -n "setting up network..."
> /sbin/ifconfig eth0 192.168.0.10 txqueuelen 1000
> /sbin/ifconfig lo 127.0.0.1
> echo -n "running surge client..."
> /bin/bash -c "cd /benchmarks/surge && ./Surge 2 100 1 192.168.0.1 5.
> echo -n "halting machine"
> m5 exit
>
>
> best.
>
> Tod
> --------- 원본 메일 ---------
>
> *보낸사람*: Zohreh Naghibi <[email protected]>
> *받는사람* : gem5 users mailing list <[email protected]>
> *날짜*: 2013년 12월 29일 일요일, 23시 40분 16초 +0900
> *제목*: [gem5-users] Compile by Scripts
>
> Hi.
> I wonder whether there is any way to compile a workload by script or not.
>   (in FS mode)
> Thanks in advance
>
>  _______________________________________________
> gem5-users mailing list
> [email protected]<http://hanmail/mail/[email protected]>
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to