[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] MIPS little endian user space emulation
From: |
wangji |
Subject: |
Re: [Qemu-devel] MIPS little endian user space emulation |
Date: |
Sun, 10 Sep 2006 12:24:18 +0200 |
User-agent: |
KMail/1.9.3 |
Khi Thứ bảy 09 Tháng chín 2006 8:00 chiều, Stefan Weil viết:
> > 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
hi stefan,
this is with uclibc ! (mine works too) but not with mipsel-glibc toolchain !
some people want glibc for more versatility maybe .