Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
All emergings fail, "C compiler cannot(...) " [SOLVED] [
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ZeuZ_NG
Guru
Guru


Joined: 10 Sep 2008
Posts: 453
Location: Near /dev/urandom | /dev/null

PostPosted: Thu Sep 18, 2008 12:34 pm    Post subject: All emergings fail, "C compiler cannot(...) " [SOL Reply with quote

Hi, well, now again I'm having some troubles.
I emerged gcc-4.3.1 and changed the symlink in /usr/src/gcc from the former (gcc-4.1) to the newly emerged one.
Now every configuration step on emerging, will fail with the error:
"C compiler cannot create executables"
Did I do anything wrong by changing the symlink?
Any idea how can I correct this issue and continue to use gcc-4.3.1?
My main motivation for the use of this version in specific is that it has some optmizing switches I'm willing to try, and that's the same reason why I don't want to go back to gcc-4.1.x.


Last edited by ZeuZ_NG on Thu Sep 18, 2008 12:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Thu Sep 18, 2008 12:37 pm    Post subject: Reply with quote

Did you use gcc-update to change the symlink? This is the preferred way.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
ZeuZ_NG
Guru
Guru


Joined: 10 Sep 2008
Posts: 453
Location: Near /dev/urandom | /dev/null

PostPosted: Thu Sep 18, 2008 12:38 pm    Post subject: Reply with quote

fangorn wrote:
Did you use gcc-update to change the symlink? This is the preferred way.


Nop, actually, as I stated before, I just changed the gcc symlink in /usr/bin
should I roll back that change before using gcc-update?

Ok, so I didn't have gcc-update on my system, I used gcc-config to correct the issue.
The issue was solved by using:
gcc-config i686-pc-linux-4.3.1
to change the currently behing used one.
That solved my issues.
Thanks for your time guys!
[SOLVED] Tag added.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum