Re: How do I remove a -L directory from the Build phase?
Re: How do I remove a -L directory from the Build phase?
- Subject: Re: How do I remove a -L directory from the Build phase?
- From: Michael Rawdon <email@hidden>
- Date: Mon, 3 Mar 2008 16:08:35 -0800
Hi Stuart -On Mar 3, 2008, at 1:49 PM, Stuart Malin wrote: I created a project on my desktop, then relocated the project to a nested folder. When building there, I get a warning during the link phase about a non-existent directory. Otherwise the project builds just fine. I do have a linked library, and have checked the referenced file location, which is fine. I welcome any suggestions as to where this unnecessary -L argument comes from, and how I can remove it. Thnx. Xcode 2.4.1 on OS X 10.4.11
Building ZeroLink launcher /Users/stuart/Programming/Cocoa - mine/testExpatParser/build/Debug/testExpatParser.app/Contents/MacOS/testExpatParser cd "/Users/stuart/Programming/Cocoa - mine/testExpatParser" /usr/bin/gcc-4.0 -o /Users/stuart/Programming/Cocoa\ -\ mine/testExpatParser/build/Debug/testExpatParser.app/Contents/MacOS/testExpatParser -arch i386 /System/Library/PrivateFrameworks/ZeroLink.framework/Resources/libZeroLinkAppStub.a -Wl,-all_load -L/Users/stuart/Programming/Cocoa\ -\ mine/testExpatParser/build/Debug -L/Users/stuart/Programming/Cocoa\ -\ mine/testExpatParser/../../Programming/Cocoa\ -\ mine/expatCocoaRevised -L/Users/stuart/Programming/Cocoa\ -\ mine/testExpatParser -F/Users/stuart/Programming/Cocoa\ -\ mine/testExpatParser/build/Debug -framework Cocoa -lexpat.1.5.2 -Wl,-Y,1455 -framework ZeroLink -F/System/Library/PrivateFrameworks/ -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -Wl,-x -Wl,-unexported_symbols_list -Wl,/System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/Resources/ZeroLinkAppStub.nexp -Wl,-sectcreate -Wl,__TEXT -Wl,__zerolink -Wl,/Users/stuart/Programming/Cocoa\ -\ mine/testExpatParser/build/testExpatParser.build/Debug/testExpatParser.build/Objects-normal/i386/testExpatParser.zerolink /usr/bin/ld: warning -L: directory name (/Users/stuart/Programming/Cocoa - mine/testExpatParser/../../Programming/Cocoa - mine/expatCocoaRevised) does not exist
-L flags are typically passed for paths defined in the Library Search Paths build setting, so that's probably where the directory is defined in your target or project. -- Michael Rawdon email@hidden Xcode Developer Apple Inc., Cupertino CA
|
_______________________________________________
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