Created
April 11, 2013 23:08
-
-
Save anonymous/5367957 to your computer and use it in GitHub Desktop.
MAKE output for native binding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g-MacP:NativeBindingVS-master g$ make | |
make -C "./Foo" | |
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project ./Foo.xcodeproj -target Foo -sdk iphonesimulator -configuration Release clean build | |
Build settings from command line: | |
SDKROOT = iphonesimulator6.0 | |
=== CLEAN NATIVE TARGET Foo OF PROJECT Foo WITH CONFIGURATION Release === | |
Check dependencies | |
2013-04-12 09:01:32.213 xcodebuild[17941:3a03] error: Error Domain=NSPOSIXErrorDomain Code=2 "Non-zero exit code 1 returned from shell command: /usr/local/bin/gcc-4.7 -v -E -dM -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -x objective-c -c /dev/null 2>&1" UserInfo=0x40177cf60 {NSLocalizedDescription=Non-zero exit code 1 returned from shell command: /usr/local/bin/gcc-4.7 -v -E -dM -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -x objective-c -c /dev/null 2>&1, NSLocalizedFailureReason=No such file or directory} | |
2013-04-12 09:01:32.214 xcodebuild[17941:3a03] Warning: Couldn't discover the 'gcc-4.7' compiler's built-in search paths and preprocessor definitions for language dialect 'objective-c'. | |
Compiler: /usr/local/bin/gcc-4.7 | |
Reason: /usr/local/bin/gcc-4.7 -v -E -dM -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -x objective-c -c /dev/null 2>&1 | |
Clean.Remove clean build/Foo.build/Release-iphonesimulator/Foo.build | |
builtin-rm -rf /Users/g/Downloads/NativeBindingVS-master/Foo/build/Foo.build/Release-iphonesimulator/Foo.build | |
Clean.Remove clean /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.pth | |
builtin-rm -rf /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.pth | |
Clean.Remove clean build/Release-iphonesimulator/libFoo.a | |
builtin-rm -rf /Users/g/Downloads/NativeBindingVS-master/Foo/build/Release-iphonesimulator/libFoo.a | |
** CLEAN SUCCEEDED ** | |
=== BUILD NATIVE TARGET Foo OF PROJECT Foo WITH CONFIGURATION Release === | |
Check dependencies | |
ProcessPCH /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.pth Foo/Foo-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
cd /Users/g/Downloads/NativeBindingVS-master/Foo | |
setenv LANG en_US.US-ASCII | |
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/g/Development/adt-bundle-mac-x86_64-20130219/sdk/tools:/Users/g/Development/adt-bundle-mac-x86_64-20130219/sdk/platform-tools:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
/usr/local/bin/gcc-4.7 -x objective-c-header -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -fexceptions -fasm-blocks -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -mios-simulator-version-min=6.1 -iquote /Users/g/Downloads/NativeBindingVS-master/Foo/build/Foo.build/Release-iphonesimulator/Foo.build/Foo-generated-files.hmap -I/Users/g/Downloads/NativeBindingVS-master/Foo/build/Foo.build/Release-iphonesimulator/Foo.build/Foo-own-target-headers.hmap -I/Users/g/Downloads/NativeBindingVS-master/Foo/build/Foo.build/Release-iphonesimulator/Foo.build/Foo-all-target-headers.hmap -iquote /Users/g/Downloads/NativeBindingVS-master/Foo/build/Foo.build/Release-iphonesimulator/Foo.build/Foo-project-headers.hmap -I/Users/g/Downloads/NativeBindingVS-master/Foo/build/Release-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/g/Downloads/NativeBindingVS-master/Foo/build/Foo.build/Release-iphonesimulator/Foo.build/DerivedSources/i386 -I/Users/g/Downloads/NativeBindingVS-master/Foo/build/Foo.build/Release-iphonesimulator/Foo.build/DerivedSources -F/Users/g/Downloads/NativeBindingVS-master/Foo/build/Release-iphonesimulator --serialize-diagnostics /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.dia -c /Users/g/Downloads/NativeBindingVS-master/Foo/Foo/Foo-Prefix.pch -o /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.pth -MMD -MT dependencies -MF /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.d | |
2013-04-12 09:01:32.294 xcodebuild[17941:3703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-1847/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCCommandLineToolSpecification.m:810 | |
Details: Unable to get message category info for tool '/usr/local/bin/gcc-4.7'. | |
Reason: gcc-4.7: error: unrecognized command line option '--print-diagnostic-categories' | |
gcc-4.7: fatal error: no input files | |
compilation terminated. | |
Object: <XCCompilerSpecificationClang: 0x401121040> | |
Method: -messageCategoryInfoForExecutablePath: | |
Thread: <NSThread: 0x4017b9ea0>{name = (null), num = 3} | |
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. | |
gcc-4.7: error: unrecognized command line option '-fpascal-strings' | |
gcc-4.7: error: unrecognized command line option '-Wduplicate-method-match' | |
gcc-4.7: error: unrecognized command line option '-fasm-blocks' | |
gcc-4.7: error: unrecognized command line option '-fobjc-legacy-dispatch' | |
gcc-4.7: error: unrecognized command line option '-mios-simulator-version-min=6.1' | |
gcc-4.7: error: unrecognized command line option '--serialize-diagnostics' | |
gcc-4.7: error: /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.dia: No such file or directory | |
Command /usr/local/bin/gcc-4.7 failed with exit code 1 | |
** BUILD FAILED ** | |
The following build commands failed: | |
ProcessPCH /var/folders/wt/tjx6cf817bz8jh34034_lw9w0000gr/C/com.apple.Xcode.504/SharedPrecompiledHeaders/Foo-Prefix-gcaccawrkjwrpgelhtywnjomyktz/Foo-Prefix.pch.pth Foo/Foo-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
(1 failure) | |
make[1]: *** [libFoo-i386.a] Error 65 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@grahammoore
Looks like your Mac is not using llvm-gcc from Xcode, if you installed your own gcc (brew, ports), try to reset your environment to use the built-in gcc (or you can try to build the .a from Xcode)