2010-04-21

Slitaz -- arm / busybox


1.Env: arm-linux-gcc-4.3.2.tgz
busybox-1.13.3-mini2440.tgz
2.tar xzvf busybox-1.13.3-mini2440.tgz
cd busybox-1.13.3
3.cp fa.config .config
4.make gconfig
5.make

Trying libraries: crypt m
Library crypt is needed, can't exclude it (yet)
Library m is needed, can't exclude it (yet)
Final link with: crypt m


root@slitaz:~# arm-linux-gcc -v
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /scratch/julian/lite-respin/linux/src/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2008q3-72' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)
root@slitaz:~#

root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3# ls -l busybox*
-rwxrwxrwx 1 root root 634416 Apr 22 09:33 busybox
-rwxrwxrwx 1 root root 796307 Apr 22 09:33 busybox_unstripped
-rwxrwxrwx 1 root root 691492 Apr 22 09:33 busybox_unstripped.map
-rwxrwxrwx 1 root root 32926 Apr 22 09:33 busybox_unstripped.out
root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3# file busybox
busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped
root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3# file busybox_unstripped
busybox_unstripped: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3# file busybox_unstripped.map
busybox_unstripped.map: ASCII assembler program text
root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3# file busybox_unstripped.out
busybox_unstripped.out: ASCII C program text, with very long lines

root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3# ls -l /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib/libm*
-rwxr-xr-x 1 root root 743679 Nov 18 2008 /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib/libm-2.8.so
-rwxr-xr-x 1 root root 22825 Nov 18 2008 /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib/libmemusage.so
lrwxrwxrwx 1 root root 11 Apr 21 09:34 /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib/libm.so.6 -> libm-2.8.so
root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3# ls -l /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib/libcrypt*
-rwxr-xr-x 1 root root 45563 Nov 18 2008 /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib/libcrypt-2.8.so
lrwxrwxrwx 1 root root 15 Apr 21 09:34 /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib/libcrypt.so.1 -> libcrypt-2.8.so
root@slitaz:/mnt/data/arm9/mini2440/busybox-1.13.3#

gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)
[..]
Library crypt is needed, can't exclude it (yet)

LD util-linux/volume_id/built-in.o
CC util-linux/volume_id/get_devname.o
CC util-linux/volume_id/util.o
CC util-linux/volume_id/volume_id.o
AR util-linux/volume_id/lib.a
LINK busybox_unstripped
Trying libraries: crypt m
Library crypt is needed, can't exclude it (yet)
Library m is needed, can't exclude it (yet)
Final link with: crypt m

real 1m1.509s
user 0m46.332s
sys 0m6.750s