02.09.2019. 18.08, "Aleksandar Markovic" је
написао/ла:
>
>
> 02.09.2019. 06.17, "Libo Zhou" је написао/ла:
> >
> > I am trying to run a simple MIPS program with QEMU user mode.
> >
> >
> >
> > Host: Ubuntu 18.04 LTS on x86_64
> > QEMU config: ../configure --target-list=mips-linux-user
> >
> > Cr
02.09.2019. 06.17, "Libo Zhou" је написао/ла:
>
> I am trying to run a simple MIPS program with QEMU user mode.
>
>
>
> Host: Ubuntu 18.04 LTS on x86_64
> QEMU config: ../configure --target-list=mips-linux-user
>
> Cross Compiler: sudo apt install gcc-mips-linux-gnu
>
>
> My test.c is simple: int
Adding some useful information, enabling strace gives me the following
messages. It looks like the segmentation fault is ultimately caused by missing
ld.so.nohwcap and ld.so.preload?
$ ./qemu-mips -L /usr/mips-linux-gnu -strace test
10255 brk(NULL) = 0x00412000
10255 mmap2(NULL,8192,PROT_READ|
I am trying to run a simple MIPS program with QEMU user mode.
Host: Ubuntu 18.04 LTS on x86_64
QEMU config: ../configure --target-list=mips-linux-user
Cross Compiler: sudo apt install gcc-mips-linux-gnu
My test.c is simple: int main(void) {int a = 1; int b =2; int c; c = a + b;
return 0;}
Af