public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] gcc-config: Active gcc profile is invalid!
  @ 2011-04-27 14:03 99% ` Mike Edenfield
  0 siblings, 0 replies; 1+ results
From: Mike Edenfield @ 2011-04-27 14:03 UTC (permalink / raw
  To: gentoo-user

On 4/27/2011 8:16 AM, Alan Mackenzie wrote:
> Hi, Gentoo.
> 
> I got the error message
> 
>     gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
> 
> whilst trying to emerge something.  Running gcc-config myself
> # gcc-config -l, I get back this error message:
> 
>      * gcc-config: Active gcc profile is invalid!
>      [1] x86_64-pc-linux-gnu-4.4.5
> 
> .  4.4.5 is indeed the version of my gcc package.  This got updated very
> recently.
> 
> What is a "gcc profile"?  Where can I find it, and what do I need to do
> to make it valid?

Your gcc profile is a set of gcc specs and symlinks to a specific gcc
version, since you can have more than one. The error just means
gcc-config didn't get run properly before uninstalling your previous
version of gcc.

Run gcc-config to set your profile to the one you have listed:

# gcc-config 1

You will get the error every time you run gcc-config until you set a
valid profile; after that it should go away and builds should work again.

--Mike



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-04-27 12:16     [gentoo-user] gcc-config: Active gcc profile is invalid! Alan Mackenzie
2011-04-27 14:03 99% ` Mike Edenfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox