首页 > 系统服务 > 详细

嵌入式Linux上移植unzip工具

时间:2018-04-19 13:30:44      阅读:510      评论:0      收藏:0      [点我收藏+]

  由于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即是目标文件。

 

嵌入式Linux上移植unzip工具

原文:https://www.cnblogs.com/jalynfang/p/8881732.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!