to compile ruby in gem5 run:
scons build/ALPHA_SE/m5.debug USE_MYSQL=No RUBY=True update_ref=True

and then to test it by memtest-ruby you should do:
scons build/ALPHA_SE/tests/fast/quick/50.memtest/alpha/linux/memtest-ruby

Somayeh


Krishna, Tushar wrote:
> Hi,
> 
> Can anyone tell me how to run  ruby_se.py ?
> 
>  
> 
> I tried
> 
> ./build/ALPHA_SE/m5.debug   configs/example/ruby_se.py –m 10
> 
>  
> 
> -          But it complains that libruby_file (which points to a 
> non-existent libruby.so file in the code) is not part of the RubyMemory 
> class.
> 
>  
> 
> -          Do I also need to specify some input trace file? Which one?
> 
>  
> 
> -          Basically I just want to find out about some way to run Ruby 
> on GEM5 (other than from the regression suite).
> 
>  
> 
>  
> 
> Thanks
> 
> Tushar
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> m5-dev mailing list
> m5-dev@m5sim.org
> http://m5sim.org/mailman/listinfo/m5-dev

_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to