LDFLAGS未被使用

时间:2012-09-26 07:26:21

标签: ios gcc arm

我已经设置了这样的LDFLAGS:

export LDFLAGS="-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib"

但似乎它仍然只在/ usr / lib / system

中查找
configure:2859: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2   -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib conftest.c  >&5
ld: in /usr/lib/system/libcache.dylib, missing required architecture armv7 in file /usr/lib/system/libcache.dylib (2 slices) for architecture armv7
collect2: ld returned 1 exit status

如何设置正确的方法?

0 个答案:

没有答案