Re: error: can't exec '/Developer/Library/Xcode/Plug-ins/GCC 4.2.xcplugin/Contents/Resources/gcc' (No such file or directory)
Re: error: can't exec '/Developer/Library/Xcode/Plug-ins/GCC 4.2.xcplugin/Contents/Resources/gcc' (No such file or directory)
- Subject: Re: error: can't exec '/Developer/Library/Xcode/Plug-ins/GCC 4.2.xcplugin/Contents/Resources/gcc' (No such file or directory)
- From: Jocelyn Houle <email@hidden>
- Date: Wed, 22 Sep 2010 09:57:31 -0400
I believe I got this error in the past when launching Xcode from a terminal with a CC or CXX environment variable.
From what I recall, Xcode was interpreting the envvar, but expecting something different than what other UNIX build tool would expect.
I now launch Xcode exclusively from the Finder (or Dock, or Quicksilver) and set my required envvar through Xcode's facilities.
I suspect you have 'CC=gcc4.2' on your side; maybe starting Xcode with a double-click will make the error go away (more complicated if you set it in your environment.plist file, but if you did, then you likely know how to revert that).
On 2010-09-22, at 09:18, Geoff Beier wrote:
> So I seem to have broken my xcode installation. If I create a new
> Cocoa Application project and just attempt to build the empty project,
> I get this error:
>
>
> error: can't exec '/Developer/Library/Xcode/Plug-ins/GCC
> 4.2.xcplugin/Contents/Resources/gcc' (No such file or directory)
>
> That file definitely doesn't exist, but I've not done anything that I
> expect should remove it. It also isn't clear to me what makes xcode
> look there for gcc. In an attempt to narrow the problem, I logged in
> as a different user and created a new project. Everything worked, and
> it was using gcc from /Developer/usr/bin/gcc-4.2.
>
> I tried killing my xcode preferences, and that did not change the behavior.
>
> Does anyone have any idea what setting in my environment might cause
> this behavior? My google-fu must be weak on this one, because nothing
> helpful comes back.
>
> I did just install Xcode 3.2.4 yesterday, but the problem started
> prior to that.
>
> Thanks for any insight.
>
> Geoff
> _______________________________________________
> 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
_______________________________________________
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