qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] MIPS little endian user space emulation


From: Stefan Weil
Subject: Re: [Qemu-devel] MIPS little endian user space emulation
Date: Sat, 09 Sep 2006 20:00:53 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060812)

> Busybox statically or dynamically linked?
>
> Which toolchain?
>
> Dirk
>
Hello Dirk,

here is my working configuration:

host tools:
gcc-Version 3.3.6 (Debian 1:3.3.6-13)

cross tools (mipsel):
gcc with patches from OpenWrt: mipsel-linux-gcc (GCC) 3.4.5 (OpenWrt-2.0)
GNU binutils version 2.16.1
busybox: BusyBox v1.1.2 (2006.04.24-20:20+0000) multi-call binary
(dynamically linked)
uClib-3.4.5

Maybe you want to try your hello_world compiled with my toolchain?
I send a binary with this mail (it is only 2 KB, so it should be ok for
the list).

$ mipsel-linux-gcc hello_world.c -o hello_world
$ file hello_world
hello_world: ELF 32-bit LSB executable, MIPS, version 1 (SYSV),
dynamically linked (uses shared libs), not stripped
$ mipsel-user/qemu-mipsel -L /nfsroot.ok hello_world
Hello world

Note the different output of the "file" command!

Regards
Stefan

Attachment: hello_world.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]