I am trying to write my own C code to execute it with an ARM architecture.
For now, I am just using this command and it works fine:
build/ARM/gem5.opt configs/example/se.py --cmd=tests/test-progs/hello/bin/arm/linux/hello
I created another hello2.c and compiled it with the commad: gcc-arm-linux-gnueabi -o hello2
However, now, when I try to execute the new binary file: build/ARM/gem5.opt configs/example/se.py --cmd=tests/test-progs/hello/bin/arm/linux/hello2
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Oct 9 2017 16:03:09
gem5 started Oct 9 2017 16:30:16
gem5 executing on lnis-All-Series, pid 9589
command line: build/ARM/gem5.opt configs/example/se.py --cmd=tests/test-progs/hello/bin/arm/linux/hello2
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes)
fatal: Unable to open dynamic executable's interpreter.
Memory Usage: 662072 KBytes
I suspect I might have not used the appropriate command to compile my C file, any idea which one would be correct?