re: Extremely bad experience with Xcode 3.0
re: Extremely bad experience with Xcode 3.0
- Subject: re: Extremely bad experience with Xcode 3.0
- From: George Warner <email@hidden>
- Date: Wed, 30 Apr 2008 11:24:10 -0700
- Thread-topic: Extremely bad experience with Xcode 3.0
On Wed, 30 Apr 2008 00:33:29 +0200, philippe wicker <email@hidden> wrote:
> Has anyone any idea about what's going wrong here?
Make sure your (debug) project is using Dwarf (or Dwarf w/dSYM):
DEBUG_INFORMATION_FORMAT = dwarf
OR:
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
NOT stabs:
DEBUG_INFORMATION_FORMAT = stabs
Also make sure your debug build doesn't have any optimization (-O0).
You debug build should only build the native architecture also:
ARCHS = $(NATIVE_ARCH)
(Unless you're testing/debugging on both ppc & Intel hardware...)
Settings I like (you opinion may vary ;-):
All Configurations
GCC_DYNAMIC_NO_PIC = NO
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
PREBINDING = NO
ZERO_LINK = NO
GCC_C_LANGUAGE_STANDARD = c99
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO
Debug
ARCHS = "$(NATIVE_ARCH)"
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PREPROCESSOR_DEFINITIONS = $(value) DEBUG=1 _NDEBUG=1 NDEBUG=1
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES
GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
GCC_WARN_MISSING_PARENTHESES = YES
GCC_WARN_PEDANTIC = NO
GCC_WARN_SHADOW = NO
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES
GCC_WARN_UNINITIALIZED_AUTOS = NO
GCC_WARN_UNKNOWN_PRAGMAS = YES
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_LABEL = YES
GCC_WARN_UNUSED_PARAMETER = YES
GCC_WARN_UNUSED_VALUE = YES
GCC_WARN_UNUSED_VARIABLE = YES
OTHER_CFLAGS = $(value) -Wimplicit-function-declaration
OTHER_CPLUSPLUSFLAGS = " "
ARCHS = $(NATIVE_ARCH_64_BIT)
ARCHS = $(NATIVE_ARCH) $(NATIVE_ARCH_64_BIT)
Release
ARCHS = ppc i386
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
GCC_OPTIMIZATION_LEVEL = s
ARCHS = ppc64 x86_64
ARCHS = ppc i386 ppc64 x86_64
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
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