嵌入式Linux上移植unzip工具

  由于busybox编译出来的unzip不支持有密码的压缩包解压,因此基于unzip60源码包,交叉编译一个嵌入式Linux上的unzip工具。

1.下载地址是:

http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz/download

2.配置

修改unzip60/unix/Makefile:

1 CC =arm-arago-linux-gnueabi-gcc #try using "gcc" target rather than changing this (CC and LD
2 AS = arm-arago-linux-gnueabi-as

3.编译:

1 make generic -f unix/Makefile 

  topdir目录下生成的unzip即是目标文件。

猜你喜欢

转载自www.cnblogs.com/jalynfang/p/8881732.html
今日推荐