Hello, All! If xcodebuild utility tell about a strange errors while running from inside makefiles like following:
---- xcodebuild stdout ---- "Couldn't discover the 'gcc-4.2' compiler's built-in search paths ..." Compiler: /Developer/Library/Xcode/Plug-ins/GCC 4.2.xcplugin/Contents/Resources/gcc-4.2 Reason: sh: /Developer/Library/Xcode/Plug-ins/GCC 4.2.xcplugin/Contents/Resources/gcc-4.2: No such file or directory ---- cut ---- This mean its needs for the 'gcc' and 'g++' absolete pathnames instead of short file-only names known from make variables "CC" and "CXX". Do this using xcodebuild feature "setting=value" (described in 'man xcodebuild') like following: ---- xcodebuild makefile ---- CC_FULL_PATHNAME:="CC=/Developer/usr/bin/$(CC)" CXX_FULL_PATHNAME:="CXX=/Developer/usr/bin/$(CXX)" WORKAROUND:=$(CC_FULL_PATHNAME) $(CXX_FULL_PATHNAME) all: xcodebuild -project ... -sdk ... <over xcodebuild options> $(WORKAROUND) ---- eof ---- _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com