qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] MIPS little endian user space emulation
Date: Sat, 09 Sep 2006 20:00:53 +0200	[thread overview]
Message-ID: <45030155.3010006@mail.berlios.de> (raw)
In-Reply-To: <45027044.2000701@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]


> 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 #2: hello_world.bz2 --]
[-- Type: application/octet-stream, Size: 2343 bytes --]

  reply	other threads:[~2006-09-09 18:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08 16:35 [Qemu-devel] MIPS little endian user space emulation Dirk Behme
2006-09-08 20:33 ` Stefan Weil
2006-09-09  7:41   ` Dirk Behme
2006-09-09 18:00     ` Stefan Weil [this message]
2006-09-10 10:24       ` wangji
2006-09-09 22:13 ` wangji
2006-09-09  7:16   ` Dirk Behme
2006-09-10  2:34     ` wangji
2006-09-10  8:49     ` wangji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45030155.3010006@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).