• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 'cc' is not an accessible executable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: 'cc' is not an accessible executable?
      • From: David Miller <email@hidden>
References: 
 >'cc' is not an accessible executable? (From: David Miller <email@hidden>)
 >Re: 'cc' is not an accessible executable? (From: Markus Hitter <email@hidden>)
 >Re: 'cc' is not an accessible executable? (From: David Miller <email@hidden>)

  • Prev by Date: What is Xcode's "default compiler"? Why not use C99?
  • Next by Date: Re: GCC "too large for field width of 26bits"
  • Previous by thread: Re: 'cc' is not an accessible executable?
  • Next by thread: Re: 'cc' is not an accessible executable?
  • Index(es):
    • Date
    • Thread