Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GCC gone bad! Help! [SOLVED]
Date: Thu, 19 Nov 2009 21:45:29
Message-Id: 1258667085.11560.4.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] GCC gone bad! Help! by Fernando Antunes
1 On Thu, 2009-11-19 at 17:10 -0200, Fernando Antunes wrote:
2 >
3 >
4 > On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan
5 > <msulli1355@×××××.com> wrote:
6 > I've started seeing this line after failed emerges:
7 >
8 >
9 >
10 > checking for C compiler default output file name... configure:
11 > error: C
12 > compiler cannot create executables
13 >
14 > Checking gcc-config returns this:
15 > carter sys-devel # gcc-config -l
16 > * gcc-config: Active gcc profile is invalid!
17 > [1] i686-pc-linux-gnu-4.3.4
18 >
19 >
20 > When I upgraded gcc to 4.3.4 I runned
21 > # gcc-config i686-pc-linux-gnu-4.3.4
22 > # source /etc/profile
23 >
24 > Maybe it helps you.
25 That fixed it! Thank you!