Re: Build failed with cc1plus: error: output filename specified twice
Re: Build failed with cc1plus: error: output filename specified twice
- Subject: Re: Build failed with cc1plus: error: output filename specified twice
- From: Chris Espinosa <email@hidden>
- Date: Wed, 9 Feb 2005 17:21:01 -0800
On Feb 9, 2005, at 1:22 PM, Bennett Prescott wrote:
I'm having a strange issue with Xcode. If I make a new project in my
usual projects directory (/Users/mainframe/Documents/Work/Term 2,
2005/CSCI 2300) and try to build and run even the stock "hello world"
program, I don't get beyond the error "cc1plus: error: output
filename specified twice".
However, if I create the exact same project in
/Users/mainframe/Desktop the project builds just fine.
It seems like Xcode is having an issue with non-standard directory
names (e.g. with commas and spaces). Is this a known issue? Is there
a workaround? Am I just going to have to work with projects on my
desktop until they're finished and can be archived?
Spaces it can handle, commas it can't. (This is an improvement on MPW
but still short of CW). Pretty much any shell metacharacter (, \ * " $
+ . etc.) has the potential to cause grief when Xcode invokes its
underlying tool chain; it's best to avoid them. You don't have to live
with your projects on the desktop, just put them in a directory "Term 2
2005" instead of "Term 2, 2005".
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