Wed May 29 11:48:38 CEST 2013

Having fun with cross-compiling

$ file build/root-filesystem-*/bin/mksh
build/root-filesystem-armv4tl/bin/mksh:       ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-armv6l/bin/mksh:        ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-i486/bin/mksh:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-i586/bin/mksh:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-i686/bin/mksh:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-mips/bin/mksh:          ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-mips64/bin/mksh:        ELF 64-bit MSB executable, MIPS, MIPS64 version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-mipsel/bin/mksh:        ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-powerpc-440fp/bin/mksh: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-powerpc/bin/mksh:       ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-sh4/bin/mksh:           ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-sparc/bin/mksh:         ELF 32-bit MSB executable, SPARC version 1 (SYSV), dynamically linked (uses shared libs), stripped
build/root-filesystem-x86_64/bin/mksh:        ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped
... that is the result of an afternoon of hacking on Aboriginal Linux to include mksh support.
Why? eh ... why not. And for such a crude hack it works surprisingly well - only two of the arm crosscompile targets failed.

Posted by Patrick | Permalink