busybox 動作検証

とりあえずクロスでないソレで動作検証してみます。
busybox および カーネルを取得。

$ tar jxvf ../../../Android/busybox-1.8.4.tar.bz2
$ git clone git://android.git.kernel.org/kernel/common.git

これ、何も考えずに 64bits な環境で make して qemu したらどうなるのかな。

ようやく

make に着手。何故か git clone に異様に時間がかかってしまいましたorz

$ make x86_64_defconfig
$ make -j2 all

ええと、zImage が出てこないorz
ネイティブな環境で試験できないんじゃ話にならんじゃないか (激怒

その後

色々試してみてるんですが駄目ですorz
なんでここで終わるんだろ。

  CC      mm/hugetlb.o
  CC      mm/mempolicy.o
  CC      mm/sparse.o
  CC      mm/sparse-vmemmap.o
  CC      mm/slub.o
  CC      mm/migrate.o
  CC      mm/percpu.o
  LD      mm/built-in.o
$

よく考えたら最近は make-kpkg しか使ってないなぁ。
それにしてもなんかだんだんハラ立ってきた。

なんか gcc-4.4 だと微妙とかそんなナニを catch したんですが、これが悪いというオチなのだったら時間返してくれってカミサマにお祈りしたいッスorz

$ apt-cache search gcc-4
gcc-4.4 - The GNU C compiler
gcc-4.4-base - The GNU Compiler Collection (base package)
gcc-4.4-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-4.4-multilib - The GNU C compiler (multilib files)
gcc-4.4-source - Source of the GNU Compiler Collection
gcc-4.5 - The GNU C compiler
gcc-4.5-base - The GNU Compiler Collection (base package)
gcc-4.5-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-4.5-multilib - The GNU C compiler (multilib files)
gcc-4.5-plugin-dev - Files for GNU GCC plugin development.
gcc-4.5-source - Source of the GNU Compiler Collection
gcc-4.1 - The GNU C compiler
gcc-4.1-base - The GNU Compiler Collection (base package)
gcc-4.1-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-4.1-locales - The GNU C compiler (native language support files)
gcc-4.1-multilib - The GNU C compiler (multilib files)
gcc-4.1-source - Source of the GNU Compiler Collection
gcc-4.3 - The GNU C compiler
gcc-4.3-base - The GNU Compiler Collection (base package)
gcc-4.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-4.3-locales - The GNU C compiler (native language support files)
gcc-4.3-multilib - The GNU C compiler (multilib files)
gcc-4.3-source - Source of the GNU Compiler Collection
gcc-4.4-arm-linux-gnueabi - The GNU C compiler
gcc-4.4-arm-linux-gnueabi-base - The GNU Compiler Collection (base package)
gcc-4.4-locales - The GNU C compiler (native language support files)
gcc-4.5-arm-linux-gnueabi - The GNU C compiler
gcc-4.5-arm-linux-gnueabi-base - The GNU Compiler Collection (base package)
gcc-4.5-locales - The GNU C compiler (native language support files)
gpc-4.1-doc - Documentation for the GNU Pascal compiler (gpc)
llvm-gcc-4.2 - Low-Level Virtual Machine (LLVM), C/C++ front-end
dragonegg - GCC plugin that uses LLVM for optimization and code generation
llvm-gcc-4.5 - C front end for LLVM C/C++ compiler
$

うーん。4.3 入れるのは良いのですが、その後どーするのかは調べないと。