• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dev/Debug configurations build different?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dev/Debug configurations build different?


  • Subject: Dev/Debug configurations build different?
  • From: Jack Repenning <email@hidden>
  • Date: Mon, 13 Aug 2007 16:01:35 -0700

My project has two configurations, named "Development" and "Deployment". The have exactly the same build configuration settings (didn't used to, but they do now that I'm trying to debug the problem described here). Never the less, they build differently. In fact, one doesn't build at all! What am I doing wrong?

Differences I can spot in the build transcript:

• The working build uses some Carbon stuff (which I expected), while the failing build uses some AppKit stuff in the same spot (which I do not expect).

• The two builds have differences in their "-g" and "-O" settings, as would be expected, but I don't think this should be causing the variances.

• The two builds list some compilation directives in slightly different order, but the reorderings are all within a group of -m* and -f* settings, which I believe would be order-independent.

 • The failing build includes -mdynamic-no-pic.

• The failing build fails complaining about things like "@" tokens in Foundation files, which it ought darned well to complain about, since this step is in C++ not Obj-C. I assume we got into these Foundation files because we pulled in AppKit, but I don't know why it's using AppKit, since both builds use identically the same build settings.

Configuration info:
• Project info, build jujube, all configurations, customized settings sez:
Architectures: ppc i386
SDK Path: /Developer/SDKs/MacOSX10.4u.sdk
Mac OS X Deployment Target: Mac OS X 10.3
Enable Objective-C Exceptions (on)
Preprocessor Macros: DARWIN


 • Platform is Xcode 2.4.1 and OS X 10.4.10


The first reported error is:

Building target “SCPluginCmd” of project “SCPlugin” with configuration “Deployment”


Checking Dependencies
ProcessPCH++ \
/Library/Caches/com.apple.Xcode.7023/SharedPrecompiledHeaders/ AppKit-blkwmwqsvooostbblostgvtkqvrl/AppKit.h.gch \
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ AppKit.framework/Headers/AppKit.h \
normal ppc c++ com.apple.compilers.gcc.4_0
cd /Users/Shared/tigris/scplugin
/usr/bin/gcc-4.0 -x c++-header -arch ppc -pipe -Wno-trigraphs - fpascal-strings -fasm-blocks \
-Os -DDARWIN -fmessage-length=0 -mtune=G5 -fvisibility=hidden - fvisibility-inlines-hidden \
-mmacosx-version-min=10.3 \
-I/Users/Shared/tigris/scplugin/build/SCPlugin.build/Deployment/ SCPluginCmd.build/SCPluginCmd.hmap \
-mdynamic-no-pic \
-F/Developer/SDKs/MacOSX10.4u.sdk/Users/Shared/tigris/scplugin/ build/Deployment \
-I/Users/Shared/tigris/scplugin/build/Deployment/include \
-I/Users/Shared/tigris/scplugin/build/SCPlugin.build/Deployment/ SCPluginCmd.build/DerivedSources \
-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
-c /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ AppKit.framework/Headers/AppKit.h \
-o /Library/Caches/com.apple.Xcode.7023/SharedPrecompiledHeaders/ AppKit-blkwmwqsvooostbblostgvtkqvrl/AppKit.h.gch
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ Foundation.framework/Headers/NSObjCRuntime.h:60: \
error: expected unqualified-id before ‘@’ token




Building target “SCPluginCmd” of project “SCPlugin” with configuration “Development”


Checking Dependencies
ProcessPCH++ \
/Library/Caches/com.apple.Xcode.7023/SharedPrecompiledHeaders/ Carbon-cbvgddkyvggiugdsyvpbyovngiba/Carbon.h.gch \
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ Carbon.framework/Headers/Carbon.h \
normal ppc c++ com.apple.compilers.gcc.4_0
cd /Users/Shared/tigris/scplugin
/usr/bin/gcc-4.0 -x c++-header -arch ppc -pipe -Wno-trigraphs - fpascal-strings -fasm-blocks \
-g -O0 -DDARWIN -fmessage-length=0 -mtune=G5 -mfix-and-continue \
-mmacosx-version-min=10.3 -fvisibility-inlines-hidden \
-I/Users/Shared/tigris/scplugin/build/SCPlugin.build/Development/ SCPluginCmd.build/SCPluginCmd.hmap \
-F/Users/Shared/tigris/scplugin/build/Development \
-I/Users/Shared/tigris/scplugin/build/Development/include \
-I/Users/Shared/tigris/scplugin/build/SCPlugin.build/Development/ SCPluginCmd.build/DerivedSources \
-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
-c /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ Carbon.framework/Headers/Carbon.h \
-o /Library/Caches/com.apple.Xcode.7023/SharedPrecompiledHeaders/ Carbon-cbvgddkyvggiugdsyvpbyovngiba/Carbon.h.gch



-==- Jack Repenning Chief Technology Officer CollabNet, Inc. 8000 Marina Boulevard, Suite 600 Brisbane, California 94005 office: +1 650.228.2562 mobile: +1 408.835.8090 raindance: +1 877.326.2337, x844.7461 aim: jackrepenning skype: jrepenning




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Dev/Debug configurations build different?
      • From: David Dunham <email@hidden>
  • Prev by Date: Re: How to Run more than one executable at the same time
  • Next by Date: Debuging included files ???
  • Previous by thread: Re: How to Run more than one executable at the same time
  • Next by thread: Re: Dev/Debug configurations build different?
  • Index(es):
    • Date
    • Thread