Hi gogineni,

You will have to modify the hello world program to take in a command line 
argument and use that instead of hard coded file name. Something like this

 fp = fopen( argv[1] , "w" );

In gem5, if your se.py equivalent system is using the default set of command 
line parameters defined in config/common/Options.py, you can use --options 
parameter to pass options to hello world program. Something like this

build/X86/gem5.opt config/examples/se.py -c hello.exe --options hello.txt
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to