Hi,

*I used MIPS cross compilers from
CodeSourcery<http://www.codesourcery.com/sgpp/lite/mips/portal/subscription3130>
to
recompile the Hello.c sample for MIPS. it could compile it without any
error but when I tried to run it, It does not run properly. I could run it
properly before I compile it . *
*
*
*I used following command to compile it :*
*
*
*mips-linux-gnu-gcc -EL -g hello.c -o hello -static*
*
*
*
*
*I used following command to run it:*
*
*
*build/MIPS/gem5.opt configs/example/se.py -c
 tests/test-progs/hello/bin/mips/linux/hello*
*
*
*
*
*This is the output after runing compiled program*


Global frequency set at 1000000000000 ticks per second
warn: CoherentBus system.membus has no snooping ports attached!
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
warn: 478500: Halting thread 0 in system.cpu @ PC 40f2c0, setting restart
PC to 40f2c4
Exiting @ tick 9223372036854775807 because simulate() limit reached


*There is no 'Hello world'  in output.*
*
*
*Thanks,*
*Ali*
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to