Re: 'cc' is not an accessible executable?
Re: 'cc' is not an accessible executable?
- Subject: Re: 'cc' is not an accessible executable?
- From: David Miller <email@hidden>
- Date: Sun, 28 Dec 2003 13:20:15 -0500
On 12/28/2003 10:07 AM +0100, Markus Hitter wrote:
> Am 27.12.2003 um 20:28 schrieb David Miller:
>
>> dave@ibook [14:27 ~ 7] tcsh> which cc
>> /usr/bin/cc
>> dave@ibook [14:27 ~ 8] tcsh> dir /usr/bin/cc
>
> "ls -l" whould be the typical UNIX command but your "dir" seems to ba
> an alias to "ls -l" ...
yeah, habit, sorry. :) it's an alias to "ls -alF" actually. :)
> "file /usr/bin/gcc-3.3" whould give you an definitive answer wether
> it's an executable command. If yes, just try to execute it:
>
> Nobile:~$ file /usr/bin/gcc-3.3
> /usr/bin/gcc-3.3: Mach-O executable ppc
> Nobile:~$ /usr/bin/gcc-3.3
> gcc-3.3: no input files
> Nobile:~$ cc
> cc: no input files
>
> If all this works on your box, too, Xcode seems to be confused. I'd try
> to switch the default compiler back and forth to repair things.
Yep, that all works. "cc --version" produces what you'd expect, and
anything compiled via the command line works fine. As you surmise, just
XCode seems to be confused. In fact, if I take the commands from the build
log in XCode and execute them from the command line, they work. :) After
which I can go back to XCode and it'll go until the next one fails, and so
forth, but that's a pain in the butt. :)
I have tried switching the default compiler back and forth (gcc_select 3.1,
then gcc_select 3.3), with no luck. Thanks for the idea though.
--
Dave Miller - System Administrator / Programmer
InTrec Software, Inc. http://www.intrec.com/
email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.