Re: C++ Release Build Warning
Re: C++ Release Build Warning
- Subject: Re: C++ Release Build Warning
- From: Karl Moskowski <email@hidden>
- Date: Mon, 10 May 2010 13:52:59 -0400
On 2010-05-10, at 9:59 AM, Todd Heberlein wrote:
> In Xcode 3.2.2 when I create a new C++ command line tool, the *first* Release build gives me several warnings about the Release's build directory not found for the -L and -F options (see below). Subsequent builds generate no warnings (since the directory exists). The first Debug build doesn't have this issue.
>
> Do I have some global preference set that is causing the problem? Or is this some sign that I need to do something differently?
>
> Thanks,
>
> Todd
>
>
>
> Ld build/test1.build/Release/test1.build/Objects-normal/x86_64/test1 normal x86_64
> cd /Users/heberlei/Development/Tests/test1
> setenv MACOSX_DEPLOYMENT_TARGET 10.6
> /Developer/usr/bin/g++-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/heberlei/Development/Tests/test1/build/Release -F/Users/heberlei/Development/Tests/test1/build/Release -filelist /Users/heberlei/Development/Tests/test1/build/test1.build/Release/test1.build/Objects-normal/x86_64/test1.LinkFileList -mmacosx-version-min=10.6 -o /Users/heberlei/Development/Tests/test1/build/test1.build/Release/test1.build/Objects-normal/x86_64/test1
>
> ld: warning: directory '/Users/heberlei/Development/Tests/test1/build/Release' following -L not found
> ld: warning: directory '/Users/heberlei/Development/Tests/test1/build/Release' following -F not found
It's not just C++ tool projects - it's any tool-type target with a build configuration where the "Build Active Architecture Only" setting is unchecked. It worked fine in 3.2.1. I filed radar://7872548 if you want to dupe it.
----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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