Re: Default optimizations
Re: Default optimizations
- Subject: Re: Default optimizations
- From: Dario Accornero <email@hidden>
- Date: Tue, 28 Oct 2003 01:06:55 +0100
On 27 Oct 2003, at 21:07, Scott Tooker wrote:
While the UI to access and modify the build settings has changed from
Project Builder, for the most part the rules of inheritance haven't
changed from the Project Builder days (i.e. build styles still override
the active target).
Hmm, I am still missing something here...
I've started with a new empty project, added two BSD static library
targets (Debug and Release), added my C++ sources, and went to set up
my build settings.
Build style is Development and its current settings contain:
GCC_ENABLE_CPP_RTTI = NO
GCC_PREFIX_HEADER = MyPrefix.h
GCC_PRECOMPILE_PREFIX_HEADER = YES
COPY_PHASE_STRIP = NO
Debug target current settings contain:
GCC_OPTIMIZATION_LEVEL = 0
GCC_WARN_UNKNOWN_PRAGMAS = NO
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
Library style = Static
OTHER_CFLAGS = "-D_DEBUG -D__MACOS__"
PRODUCT_NAME = WildMagic2Debug
WARNING_CFLAGS = -Wall
And it's built thusly:
Building target Debug with build style Development
(optimization:level size, debug-symbols:on)
...
So far, so good (apart from the shell script phase problem described in
another message).
Release target current settings contain:
LIBRARY_STYLE = Static
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
GCC_WARN_UNKNOWN_PRAGMAS = NO
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
OTHER_CFLAGS = "-DNDEBUG -D__MACOS__"
PRODUCT_NAME = WildMagic2Release
WARNING_CFLAGS = -Wall
And it fails thusly:
Building target Release with build style Development
(optimization:level size, debug-symbols:on) (2 errors)
cd /Users/adario/Desktop/WildMagic2/Source
/usr/bin/g++-3.3 -c -F. -I./include
-I./build/WildMagic2.build/Release.build/DerivedSources -arch ppc -pipe
-Wno-trigraphs -fno-rtti -fpascal-strings -Os -Wno-four-char-constants
-Wall -fmessage-length=0 -mtune=G4
-Wp,-header-mapfile,./build/WildMagic2.build/Release.build/
WildMagic2Release.hmap -DNDEBUG -D__MACOS__
-I/Users/adario/Desktop/WildMagic2/Source/Approximation -include
./build/WildMagic2.build/Release.build/PrefixHeaders/
WildMagic2_prefix.h
/Users/adario/Desktop/WildMagic2/Source/Approximation/
WmlApprEllipsoidFit3.cpp -o
./build/WildMagic2.build/Release.build/Objects-normal/ppc/
WmlApprEllipsoidFit3.o
cc1plus:
./build/WildMagic2.build/Release.build/PrefixHeaders/
WildMagic2_prefix.h: No such file or directory
cc1plus:
./build/WildMagic2.build/Release.build/PrefixHeaders/
WildMagic2_prefix.h: No such file or directory
cd /Users/adario/Desktop/WildMagic2/Source
/usr/bin/g++-3.3 -c -F. -I./include
-I./build/WildMagic2.build/Release.build/DerivedSources -arch ppc -pipe
-Wno-trigraphs -fno-rtti -fpascal-strings -Os -Wno-four-char-constants
-Wall -fmessage-length=0 -mtune=G4
-Wp,-header-mapfile,./build/WildMagic2.build/Release.build/
WildMagic2Release.hmap -DNDEBUG -D__MACOS__
-I/Users/adario/Desktop/WildMagic2/Source/Approximation -include
./build/WildMagic2.build/Release.build/PrefixHeaders/
WildMagic2_prefix.h
/Users/adario/Desktop/WildMagic2/Source/Approximation/
WmlApprGaussPointsFit2.cpp -o
./build/WildMagic2.build/Release.build/Objects-normal/ppc/
WmlApprGaussPointsFit2.o
cc1plus:
./build/WildMagic2.build/Release.build/PrefixHeaders/
WildMagic2_prefix.h: No such file or directory
cc1plus:
./build/WildMagic2.build/Release.build/PrefixHeaders/
WildMagic2_prefix.h: No such file or directory
It looks like it can't find the precompiled header -- but why wasn't it
built as for the Debug target?
Thanks,
Dario
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.