How to compile expat with iOS SDK 5.1? I tried to adapt/upgrade from all older scripts, but nothing worked... Could anybody do it already?
相关问题
- Cross compiling Qt 5
- Cross compiling Gnu Radio for Openwrt
- Cross Compiling for Raspi - Executing the programm
- How to modify Makefile to support cross compilatio
- Missing crt1 and crti when crosscompiling
相关文章
- Raspberry Pi crosscompile on Ubuntu 13.10 “libstdc
- CMake CMAKE_AUTOMOC in cross compilation
- Building native library with standalone toolchain
- How to configure a particular GCC cross toolchain
- Is that possible to run a python built program on
- Cross-Compiling for an embedded ARM-based Linux sy
- cross compiling of openssl for linux arm-v5te-linu
- iOS: Failed to launch .app file
I found it!
I used the following script: https://github.com/x2on/expat-ios
The problem is that the command "xcode-select -print-path", used in the compilation script, is showing "/Developer" instead of the correct full path including "/Applications/Xcode.app/Contents/Developer". I just changed it and then it worked!
The last XCode [SDK 5.1] moved the path of the developer tools and SDK to inside the XCode bundle.
When trying to compile for iOS6.1 with the developer tools accompanying XCode 4.6.3, the script at https://github.com/x2on/expat-ios stops after building the iOSSimulator library. The iOSDevice version does not build. It seems the newer developer tools do not support armv6.
Removing armv6 from
ARCHS="i386 armv6 armv7"
will build the library at least for armv7.