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 .
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel