Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
C compiler unable to create executables [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lucid insanity
n00b
n00b


Joined: 17 Aug 2012
Posts: 7

PostPosted: Mon Jan 21, 2013 5:22 am    Post subject: C compiler unable to create executables [solved] Reply with quote

So I am trying to create a fresh install of Gentoo. I am not through step 7 in the Standard install handbook. The problem is that when I try to emerge anything it fails. Looking through the wall of text I see that the C compiler is unable to create exectuables. I used the stage3-amd64-20130110.tar.bz2 tarball.

Quick edit: I re-emerged gcc and the problem persists


Last edited by lucid insanity on Mon Jan 21, 2013 5:49 am; edited 1 time in total
Back to top
View user's profile Send private message
lucid insanity
n00b
n00b


Joined: 17 Aug 2012
Posts: 7

PostPosted: Mon Jan 21, 2013 5:41 am    Post subject: Reply with quote

Update

I attempted to run
Code:
env-update && source /etc/profile
emerge --oneshot libtool

to see if that would fix the problem, however it didn't make a difference
Back to top
View user's profile Send private message
lucid insanity
n00b
n00b


Joined: 17 Aug 2012
Posts: 7

PostPosted: Mon Jan 21, 2013 5:48 am    Post subject: Reply with quote

I fixed the problem. Turns out that compiler flags need to have a dash in front of them. Cheers!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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