Re: XCode Link Error - What does this mean?
Re: XCode Link Error - What does this mean?
- Subject: Re: XCode Link Error - What does this mean?
- From: Marshall Clow <email@hidden>
- Date: Fri, 2 May 2008 14:34:41 -0700
At 1:30 PM -0700 5/2/08, Rick Sustek wrote:
Actually, you should have to do this, Mac or no Mac!
I disagree. If I choose to name my file "Mom's stuff - 06/12/2008, at
home", then my mac should deal with it - and most mac applications do
so. Xcode is a mac application.
You are dealing with UNIX tools that operate on command lines, and
command line argument syntax follows certain rules.
Sadly this is true - but it should not be.
I am not dealing with "Unix Tools", I am dealing with Xcode.
If Xcode is calling "Unix Tools" to do its' work, that is between
Xcode and Unix - not me; and if that causes a problem, I expect Xcode
to deal with it.
Basically, spaces and punctuation characters will cause trouble,
depending on what tool, and how, they are used.
You can avoid troubles by never using spaces or punctuation
characters outside of a limited set. Or, you can make sure that you
follow quoting and escaping rules whenever you declare paths and
files that do use spaces or non-standard punctuation.
If you examine your own linkage command line, you will see that many
of the arguments to the flags are fully encased in double quotes.
Command line? What's that? ;-) I didn't write a command line (nor, I
expect, did the OP).
Xcode generated a command line, and passed it to a shell to execute.
Leaving aside all the other problems that that can entail, I think
that if that is how Xcode wants to run a compiler/linker/whatever,
then it is Xcode's responsibility to "get it right".
P.S. If you want to blame the compiler/linker/whatever for failing
to handle these command lines, remember that they are built by and
shipped by Apple as part of Xcode.
--
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
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