• 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
Don't really understand why there are so many settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Don't really understand why there are so many settings


  • Subject: Don't really understand why there are so many settings
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Sun, 11 Feb 2007 02:03:10 +0000

I'm getting a problem with building this app of mine.

It has two targets, and both targets have release and debug versions.

I'm not sure if I needed to do it that way, but anyhow that's how I did it.

One target is to create a shell tool, this lets me debug this library of mine via a testing harness.

But the main idea is to make the library into a .dylib which has no testing harness. So that's why I got two targets. One for a shell tool and another for a .dylib.

The release version does need full speed opts and the testing version needs no opts.

So, I've been trying to modify my settings quite a bit, and I've been doing it via the top node in the Groups&Files area. I guess it must have modified both targets and not just the current target. In my project it's called "ElfData".

To be honest I have no idea what targets it altered. Did it just alter the shell target or both targets??

Well, I fixed my shell settings via that "ElfData" top node's settings value.

Now it seems that my .dylib target doesn't build correctly.

So why is there so many settings? There's the "ElfData" (top node) settings, and there's the target settings. And I don't know what's the difference between them. Does the top node settings display and alter for both targets or something? Or is it a sort of third settings place?

Should I look at it all? Or can I clean it out? It's all very confusing, because I would have thought two targets means two settings, but I got three. There's this strange top node which I've been using but now that I think about it, I have no idea why it's there.

Anyhow, my .dylib's not building correctly. This target is actually Universal Binary which is what I want. But it contains NO CODE! I dont' get it. Last release this project built fine. Now the dylib doesn't because I fiddled around with the top node thinking I was just altering the shell tool.

The dylib file size is 20K. And it should be around 100K. How do I get it to contain all the source code that is actually compiling?

My dylib target settings are here in case it helps:

ARCHS = ppc i386
SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk
SYMROOT = build
OBJROOT = $(SYMROOT)
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)
CONFIGURATION_TEMP_DIR = $(PROJECT_TEMP_DIR)/$(CONFIGURATION)
SHARED_PRECOMPS_DIR = $(CACHE_ROOT)/SharedPrecompiledHeaders
HEADER_SEARCH_PATHS =
USER_HEADER_SEARCH_PATHS =
LIBRARY_SEARCH_PATHS =
FRAMEWORK_SEARCH_PATHS =
REZ_SEARCH_PATHS =
ALWAYS_SEARCH_USER_PATHS = YES
VERSIONING_SYSTEM =
CURRENT_PROJECT_VERSION =
BUILD_VARIANTS = normal
DEBUG_INFORMATION_FORMAT = stabs
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
GENERATE_PROFILING_CODE = NO
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
MACH_O_TYPE = mh_dylib
INIT_ROUTINE =
PREBINDING = NO
ZERO_LINK = NO
LINK_WITH_STANDARD_LIBRARIES = YES
KEEP_PRIVATE_EXTERNS = NO
EXPORTED_SYMBOLS_FILE = exports.txt
UNEXPORTED_SYMBOLS_FILE =
SEPARATE_SYMBOL_EDIT = NO
BUNDLE_LOADER =
DYLIB_CURRENT_VERSION = 1
DYLIB_COMPATIBILITY_VERSION = 1
SECTORDER_FLAGS =
DEAD_CODE_STRIPPING = YES
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
ONLY_LINK_ESSENTIAL_SYMBOLS = YES
STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = dynamic
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINKER_DISPLAYS_FILES_FOR_UNDEFINED_SYMBOLS = NO
WARNING_LDFLAGS =
OTHER_LDFLAGS = -framework Carbon
GENERATE_MASTER_OBJECT_FILE = NO
PRELINK_LIBS =
PRELINK_FLAGS =
PRODUCT_NAME = ElfDataMachUB
EXECUTABLE_PREFIX =
EXECUTABLE_EXTENSION = dylib
WRAPPER_EXTENSION =
PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include
PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include
GENERATE_PKGINFO_FILE = NO
INFOPLIST_FILE =
INFOPLIST_PREPROCESS = NO
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_PREFIX_HEADER =
INFOPLIST_PREPROCESSOR_DEFINITIONS =
INFOPLIST_OTHER_PREPROCESSOR_FLAGS =
COPYING_PRESERVES_HFS_DATA = NO
FRAMEWORK_VERSION = A
MACOSX_DEPLOYMENT_TARGET = $(inherited)
DEPLOYMENT_LOCATION = YES
DEPLOYMENT_POSTPROCESSING = NO
DSTROOT = ./ElfData
INSTALL_PATH = "/Build Resources/Mac Carbon Mach-O Universal"
SKIP_INSTALL = NO
STRIP_INSTALLED_PRODUCT =
SEPARATE_STRIP = NO
STRIP_STYLE = debugging
STRIPFLAGS =
COPY_PHASE_STRIP = YES
INSTALL_OWNER = $(USER)
INSTALL_GROUP = $(GROUP)
INSTALL_MODE_FLAG = a-w,a+rX
ALTERNATE_PERMISSIONS_FILES =
ALTERNATE_OWNER = $(INSTALL_OWNER)
ALTERNATE_GROUP = $(INSTALL_GROUP)
ALTERNATE_MODE = $(INSTALL_MODE_FLAG)
TEST_HOST =
TEST_RIG =
GCC_INPUT_FILETYPE = automatic
GCC_C_LANGUAGE_STANDARD = compiler-default
GCC_CHAR_IS_UNSIGNED_CHAR = NO
GCC_ENABLE_ASM_KEYWORD = YES
GCC_ENABLE_TRIGRAPHS = NO
GCC_ENABLE_CPP_EXCEPTIONS = NO
GCC_ENABLE_CPP_RTTI = NO
GCC_ENABLE_OBJC_EXCEPTIONS = NO
GCC_NO_NIL_RECEIVERS = NO
GCC_ENABLE_PASCAL_STRINGS = YES
GCC_SHORT_ENUMS = NO
GCC_ONE_BYTE_BOOL = YES
GCC_ALTIVEC_EXTENSIONS = NO
GCC_CW_ASM_SYNTAX = YES
GCC_PREFIX_HEADER = ElfDataSrc/ED_CompileMachO.h
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO
OTHER_CFLAGS =
OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS)
GCC_USE_GCC3_PFE_SUPPORT = $(USE_GCC3_PFE_SUPPORT)
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
GCC_DEBUGGING_SYMBOLS = default
GCC_ENABLE_SYMBOL_SEPARATION = YES
GCC_OPTIMIZATION_LEVEL = s
GCC_NO_COMMON_BLOCKS = NO
GCC_REUSE_STRINGS = YES
GCC_DYNAMIC_NO_PIC = NO
GCC_FAST_OBJC_DISPATCH = NO
GCC_UNROLL_LOOPS = NO
GCC_FAST_MATH = NO
GCC_STRICT_ALIASING = NO
GCC_MODEL_TUNING = G5
GCC_MODEL_PPC64 = NO
GCC_AUTO_VECTORIZATION = NO
GCC_ENABLE_SSE3_EXTENSIONS = NO
GCC_FEEDBACK_DIRECTED_OPTIMIZATION = Off
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = NO
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_OBJC_CALL_CXX_CDTORS = NO
GCC_THREADSAFE_STATICS = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
GCC_GENERATE_TEST_COVERAGE_FILES = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = NO
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO
GCC_WARN_ABOUT_RETURN_TYPE = NO
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO
GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO
GCC_WARN_MISSING_PARENTHESES = NO
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO
GCC_WARN_UNUSED_FUNCTION = NO
GCC_WARN_UNUSED_LABEL = NO
GCC_WARN_UNUSED_PARAMETER = NO
GCC_WARN_UNUSED_VARIABLE = NO
GCC_WARN_UNUSED_VALUE = NO
GCC_WARN_UNINITIALIZED_AUTOS = NO
GCC_WARN_UNKNOWN_PRAGMAS = NO
GCC_WARN_INHIBIT_ALL_WARNINGS = NO
GCC_WARN_PEDANTIC = NO
GCC_WARN_SHADOW = NO
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
GCC_WARN_SIGN_COMPARE = NO
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
GCC_WARN_ABOUT_MISSING_NEWLINE = NO
WARNING_CFLAGS = -Wmost
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = YES
GCC_PREPROCESSOR_DEFINITIONS = THEO_DEBUG_ON=1
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS =
LIBRARY_STYLE = DYNAMIC
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
OTHER_REZFLAGS =
REZ_EXECUTABLE = YES
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk

_______________________________________________
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: Don't really understand why there are so many settings
      • From: email@hidden
  • Prev by Date: UB not being built?
  • Next by Date: Re: UB not being built?
  • Previous by thread: Re: UB not being built?
  • Next by thread: Re: Don't really understand why there are so many settings
  • Index(es):
    • Date
    • Thread