编译IOS版本libcurl-7.40.0
2015-01-11 10:29
197 查看
1、下载curl-7.40.0.tar.gz(http://curl.haxx.se/download.html)
2、解压 # tar zxvf curl-7.40.0.tar.gz
3、新建脚本build.sh
4、# ./build.sh
5、# make
2、解压 # tar zxvf curl-7.40.0.tar.gz
3、新建脚本build.sh
#!/bin/sh export CC="/Applications/Xcode.app/Contents/Developer/usr/bin/gcc" export CFLAGS="-arch armv7 -pipe -Os -gdwarf-2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk" export LDFLAGS="-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk" ./configure --disable-shared --enable-static --without-ssl --host="armv7-apple-darwin"
4、# ./build.sh
5、# make
相关文章推荐
- 在xcode 4.2.1中使用skd 5.0 编译出在ios 4.3或者其他版本里面可以用的应用
- (原)Mac下编译开源库libjpeg的ios模拟器版本和真机armv7版本
- ios:Xcode 5.0 编译低版本app
- 编译ios版本的librtmp+openssl
- 编译ios版本的librtmp+openssl
- 不同版本sdk下针对不同iOS编译后的兼容情况汇总
- xcode针对不同IOS版本的代码编译问题
- 如何用Xcode 4.5 编译支持 armv6 CPU及iOS 4.3以前的版本
- iOS下完美编译ffmpeg+x264,支持armv7, armv7s, 模拟器 (验证不通过,估计和ffmpeg版本有关)
- 编译ios版本的librtmp+openssl
- 编译开源库libjpeg的ios模拟器版本和真机armv7版本(转)
- 如何用Xcode 4.5 编译支持 armv6 CPU及iOS 4.3以前的版本
- 编译ios版本的ffmpeg0.11.1
- Unity3d+Jenkins 自动编译iOS、Android版本
- 如何编译出兼容4.3, 4.3以下和以上版本的iOS静态库文件?及在4.2真机上运行?
- Xcode4.2、iOS各版本以及ARMv6、ARMv7编译架构介绍
- 如何用Xcode 4.5 编译支持 armv6 CPU及iOS 4.3以前的版本
- (原)Mac下编译开源库libjpeg的ios模拟器版本和真机armv7版本
- iOS下完美编译ffmpeg+x264,支持armv7, armv7s, 模拟器 (验证不通过,估计和ffmpeg版本有关)
- ios live555 2014.08.26.tar.gz 版本 编译