博客专栏

EEPW首页 > 博客 > 嵌入式Linux上移植unzip工具

嵌入式Linux上移植unzip工具

发布人:电子禅石 时间:2020-04-21 来源:工程师 发布文章

 由于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


http://infozip.sourceforge.net/UnZip.html   

2.配置

修改unzip60/unix/Makefile:

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

3.编译:

1 make generic -f unix/Makefile

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


*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。



关键词:

相关推荐

技术专区

关闭