iOS交叉编译
阅读原文时间:2023年09月06日阅读:3

编译objc程序

~/toolchain4/pre/bin/arm-apple-darwin9-gcc -arch arm -lobjc -framework CoreFoundation -framework Foundation -framework UIKit -framework CoreGraphics -isysroot ~/toolchain4/sys -F"~/toolchain4/sys/System/Library/PrivateFrameworks" -bind_at_load -multiply_defined suppress -march=armv6 -mcpu=arm1176jzf-s AppDelegate.o ControllerDemoViewController.o main.o -o LocalPush