Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GM7UY-00011T-SY for qemu-devel@nongnu.org; Sat, 09 Sep 2006 14:23:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GM7UW-00011F-Bs for qemu-devel@nongnu.org; Sat, 09 Sep 2006 14:23:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GM7UW-00011C-8p for qemu-devel@nongnu.org; Sat, 09 Sep 2006 14:23:44 -0400 Received: from [80.12.242.19] (helo=smtp-msa-out19.orange.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GM7VO-0001RC-Ct for qemu-devel@nongnu.org; Sat, 09 Sep 2006 14:24:38 -0400 Received: from laixa (ASte-Genev-Bois-152-1-55-69.w82-121.abo.wanadoo.fr [82.121.153.69]) by mwinf1923.orange.fr (SMTP Server) with ESMTP id 0863A1C0008D for ; Sat, 9 Sep 2006 20:23:43 +0200 (CEST) From: wangji Subject: Re: [Qemu-devel] MIPS little endian user space emulation Date: Sun, 10 Sep 2006 12:24:18 +0200 References: <45019BD1.4000205@gmail.com> <45027044.2000701@gmail.com> <45030155.3010006@mail.berlios.de> In-Reply-To: <45030155.3010006@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200609101224.18381.hoan@wanadoo.fr> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Khi Th=E1=BB=A9 b=E1=BA=A3y 09 Th=C3=A1ng ch=C3=ADn 2006 8:00 chi=E1=BB=81u= , Stefan Weil vi=E1=BA=BFt: > > 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 .