Chinaunix首页 | 论坛 | 博客
  • 博客访问: 107517
  • 博文数量: 29
  • 博客积分: 447
  • 博客等级: 下士
  • 技术积分: 414
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-05 23:03
个人简介

整天捣鼓嵌入式,兼职搞搞iOS,这么折腾为了啥?都是为了俺的娃!

文章分类

分类: LINUX

2011-09-19 23:26:12

目的:为了使我的arm9260板子能浏览网页,并实现自动登陆论坛或博客功能。
实战:
要实现支持https网页的浏览,需先移植openssl库
openssl
下载网址:
1.配置./config no-asm --prefix=/usr/local/armssl os/compiler:/usr/local/arm/3.4.1/bin/arm-linux-gcc
2.make
3.make install
 
curl
下载地址:curl.haxx.se/download.html
1.配置 ./configure --with-ssl=/usr/local/armssl/ --prefix=/usr/local/armcurl
--host=arm-linux --with-random=/dev/urandom
2.make
3.make install
 
经验总结:
1.编译openssl时一定要配置os/compiler这个参数,即使你指定了CC,也要配置,否则
  configure curl时会找不到opensll lib.
阅读(2905) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~