Re: 'cc' is not an accessible executable?
Re: 'cc' is not an accessible executable?
- Subject: Re: 'cc' is not an accessible executable?
- From: Trenton Schulz <email@hidden>
- Date: Mon, 29 Dec 2003 12:05:02 +0100
On Dec 28, 2003, at 7:20 PM, David Miller wrote:
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.
I've encountered this too. The real problem (I believe) is that CC is
set to cc where it needs to be /usr/bin/cc. I imagine that Xcode has no
real PATH so it doesn't know where it is. That's why you always see
/usr/bin/gcc-3.3 whenever it tries to compile something.
Hope this helps,
-- Trenton
_______________________________________________
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.