交叉编译libjpeg

本文详细介绍了如何在Linux环境下交叉编译libjpeg库以适应ARM平台。通过配置编译选项、创建目标目录、编译及安装库文件,并最终验证库的正确安装,确保libjpeg能在ARM设备上使用。
摘要由CSDN通过智能技术生成
fedora9
arm-linux-4.3.2

提前工作阅读README
-->Please read at least the files install.doc and usage.doc.

1. 下载libjpeg源码:
http://download.chinaunix.net/download.php?id=10021&ResourceID=5095

ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
 
解压进入目录
  配置

[root@DeebugFedoraPC jpeg-6b]# ./configure --prefix=/root/libjpeg-arm  --exec-prefix=/root/libjpeg-arm --enable-shared --enable-static

checking for gcc... gcc

checking whether the C compiler (gcc  ) works... yes

checking whether the C compiler (gcc  ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking how to run the C preprocessor... gcc -E

checking for function prototypes... yes

checking for stddef.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for size_t... yes

checking for type unsigned char... yes

checking for type unsigned short... yes

checking for type void... yes

checking for working const... yes

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值