[EOT] Xcode Link Error - What does this mean?
[EOT] Xcode Link Error - What does this mean?
- Subject: [EOT] Xcode Link Error - What does this mean?
- From: Chris Espinosa <email@hidden>
- Date: Mon, 5 May 2008 12:06:23 -0700
On May 5, 2008, at 11:50 AM, Greg Guerin wrote:
Mark Wagner wrote:
It's a bug, not a UNIX issue. On my standard-issue *NIX system at
home, I have no trouble compiling a file named "filename with space -
and&other?ch,ar'ac)ters.c". If Xcode can't convey such filenames to
gcc in a way that gcc can handle properly, it's Xcode that's at
fault.
It depends on the tool. The linker uses comma in the -filelist
option. It
doesn't use any of the other punctuation in your example, nor does
it use
comma in any other context. So as long as it's quoted as
appropriate (for
shell use), then quirky punctuation is just quirky punctuation (no
semantics for the tool). You actually have to use the punctuation
mark (or
whatever symbol) that the particular tool has semantics for, AND use
it in
the right context.
So, is there a way to quote or escape commas in the linker's -filelist
option? If not, there ought to be. If so, then Xcode should use
it. Only
one of those is Xcode's fault.
For years and years, my standard filename to break Unix tools with was
"-r", or "-r.c". "Starts with -" is so loaded with semantics it was
common
for even simple commands to fail with it, sometimes spectacularly.
Please stop debating this. A bug has been filed. Assignment of fault
and responsibility for a fix is a task for our engineers and managers,
not our customers.
Chris
_______________________________________________
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