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: Greg Guerin <email@hidden>
- Date: Mon, 5 May 2008 11:50:19 -0700
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.
-- GG
_______________________________________________
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