Yes. Try making the following change to util/m5/Makefile.arm:

CC=$(CROSS_COMPILE)gcc -static

-Tony

On Sun, Aug 26, 2012 at 9:55 PM, Carole-Jean Wu <[email protected]>wrote:

> Thanks for your quick response, Tony.
>
> I built the m5 binary statically. Here is the command used to compile m5.
>
> arm-none-linux-gnueabi-gcc  -O2 -I /include/ -I /include/linux -static
> -o m5.o -c m5.c
> arm-none-linux-gnueabi-gcc -O2 -I /include/ -I /include/linux -static
> -o m5op_arm.o -c m5op_arm.S
> arm-none-linux-gnueabi-gcc -o m5 m5.o m5op_arm.o
>
> But i am still seeing the same error message.
>
> Is this what you meant by compiling it statically?
>
> Thanks,
> Carole
>
> On Sun, Aug 26, 2012 at 5:56 PM, Anthony Gutierrez <[email protected]>
> wrote:
> > You need to compile it statically.
> >
> > -Tony
> >
> > On Sun, Aug 26, 2012 at 8:42 PM, Carole Wu <[email protected]>
> wrote:
> >>
> >> Hi,
> >>
> >> I am trying to make a checkpoint after booting android-ics on ARM.
> >>
> >> I downloaded the clean android-ics image from gem5's repo, compiled m5
> >> from util/ for Android-ARM, and put the m5 executable into the image's
> >> /sbin.
> >>
> >> After the system is booted up, I tried making a checkpoint (see below)
> >> but encountered an error message.
> >>
> >> |root@android:/ # m5 checkpoint
> >> /system/bin/sh: m5: No such file or directory
> >>
> >> Has anyone seen this before and can suggest possible fixes?
> >>
> >> Thanks!
> >> Carole
> >> _______________________________________________
> >> 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
>
>
>
> --
> Carole-Jean Wu
> Assistant Professor
> Computer Science and Engineering
> School of Computing, Informatics, Decision Systems Engineering
> Arizona State University
> http://www.public.asu.edu/~caroleje/
> [email protected]
> _______________________________________________
> 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