1. Get the busybox sources:

$ wget -c http://www.busybox.net/downloads/busybox-1.18.1.tar.bz2

$ tar jxvf busybox-1.18.1.tar.bz2

2. Download the ARM Toolkit , e.g. Sourcery G++ Lite 2008q1-126 for ARM GNU /Linux

$ wget -c http://www.codesourcery.com/sgpp/lite/arm/portal/package2549/public/arm-none-linux-gnueabi/arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

note: using the newest toolchain compile busybox-1.18.1 failed, use this toolchain 4.2.3 compiled ok.

3. configure the busybox

$ cd busybox-1.18.1

$ make menuconfig

configure busybox as desired, or just

$ make defconfig

4. compile the busybox

$ make CROSS_COMPILE=/yourpath/arm-2008q1/bin/arm-none-linux-gnueabi- LDFLAGS="--static" CFLAGS="--static"

$ file busybox
busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android官方文档:使用Eclipse来debug andr
  2. Android 常用画图方法练习
  3. Android点击按钮播放音效
  4. Android按下back键非退出隐藏到后台
  5. Android 程序运行之后,禁止休眠
  6. Android实现分享和接收分享内容
  7. XXXX软件Android平台移植Porting说明书
  8. Android中Toast重复显示问题解决
  9. Android Studio新版的无线真机调试
  10. android 中,用 HttpClient 抛出异常 Socke