Re: xcodebuild buildstyle bug?
Re: xcodebuild buildstyle bug?
- Subject: Re: xcodebuild buildstyle bug?
- From: "Laurent Daudelin" <email@hidden>
- Date: Mon, 24 Nov 2003 12:02:25 -0500
On 24/11/03 11:35, "Hao Li" <email@hidden> wrote:
>
Hi all!
>
>
When I tried to build a project via xcodebuild with a script, I noticed the
>
flag
>
"-g -O0" to gcc-3.3, even when I built with:
>
xcodebuild -target myTaget -buildstyle Deployment install
>
>
So I created a new project in xCode called test from Cocoa Application
>
template without any changes in code or project preferences, and
>
compiled it with xcodebuild using:
>
xcodebuild -target test -buildstyle Deployment install
>
Still it uses -g -O0 and zerolink...
>
>
Anyone notices it?! Any fixes?
>
>
Cheers
>
Hao Li
>
>
PS. ...works if I build with Deployment style in xCode for both projects.
>
Not sure about this but I did notice that no matter what options I use in my
build styles, the overview in the build window always says:
"Building target 3ComputerSerialController2 with build style 3Development2
(optimization:level size9, debug-symbols:on)"
or
"Building target 3ComputerSerialController2 with build style 3Deployment2
(optimization:level size9, debug-symbols:on)"
even though my 'Deployment' style in the project inspector says:
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
GCC_OPTIMIZATION_LEVEL = 3
and my 'Development' style says:
GCC_OPTIMIZATION_LEVEL = 0
When I look at the build details, the flags seem to be OK for 'Deployment':
/usr/bin/gcc-3.3 -x objective-c -arch ppc -pipe -Wno-trigraphs -fasm-blocks
-fpascal-strings -O3 -mtune=G3 -Wno-four-char-constants -Wmost
-fmessage-length=0 ...
and 'Development':
/usr/bin/gcc-3.3 -x objective-c -arch ppc -pipe -Wno-trigraphs -fasm-blocks
-fpascal-strings -g -O0 -mtune=G3 -Wno-four-char-constants -Wmost
-fmessage-length=0 -ffix-and-continue -fzero-link ...
Has anybody noticed this?
-Laurent.
--
========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************ Usual disclaimers apply ***********************
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.