Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 这是我的编译指令:
- ./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='
- gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk --enable-cross-compile --target-os=darwin --cpu=arm1176jzf-s --arch=arm --extra-cflags='-arch armv6 --sysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk' --extra-ldflags='-arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk'
- 重点是extra flags里面的-sysroot和-isysroot...
- 虽然嵌入Xcode 项目还是有问题,但是编译都成功了。
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement