Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GCC gone bad! Help!
Date: Thu, 19 Nov 2009 21:27:59
Message-Id: 58965d8a0911191327l7970f457s3e6ee688896dae8f@mail.gmail.com
In Reply to: [gentoo-user] GCC gone bad! Help! by Michael Sullivan
1 On Thu, Nov 19, 2009 at 12:51 PM, Michael Sullivan <msulli1355@×××××.com> wrote:
2 > I've started seeing this line after failed emerges:
3 >
4 >
5 >
6 > checking for C compiler default output file name... configure: error: C
7 > compiler cannot create executables
8 >
9 > Checking gcc-config returns this:
10 > carter sys-devel # gcc-config -l
11 > * gcc-config: Active gcc profile is invalid!
12 > [1] i686-pc-linux-gnu-4.3.4
13 >
14 >
15 > How can I get gcc back?
16
17 try to run "gcc-config 1" as root to have it re-configure your gcc
18 settings/links.