Displaying 1 result from an estimated 1 matches for "test_foundation_appl".
Did you mean:
test_foundation_apple
2016 Sep 26
4
objc object file generated for gnustep runtime for ELF target is too big
... NSString *str = [NSString stringWithCString:"TEST"];
NSLog(@"test object %@", str);
return 0;
}
Compilation in xcode's clang
xcrun -sdk iphoneos clang -arch armv7s -mios-version-min=6.1 -c test_foundation.m -o test_foundation_apple.o
gives following result:
1. object file has only 3156 bytes size
2. and in disassembler only main function
3. the final executable will be 49992 bytes size in this case
But compilation in llvm's clang downloaded from http://llvm.org/releases/3.8.0/clang+llvm-3.8.0-x86_64-apple-darwin.ta...