Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
C compiler does not work.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
munthe
n00b
n00b


Joined: 02 Apr 2005
Posts: 50
Location: Copenhagen, Denmark

PostPosted: Mon Apr 04, 2005 12:12 pm    Post subject: C compiler does not work. Reply with quote

When I try to emerge something I get this error:
Code:
checking whether the C compiler (gcc march=athlon-xp -pipe -02 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

Any body knowhow tofix it?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Apr 04, 2005 12:16 pm    Post subject: Reply with quote

Please see this FAQ: https://forums.gentoo.org/viewtopic-t-294109.html. In your case, you need to change march= to -march=, and also make sure that the O is a capital o, not a number in -O2.

Moved from Portage & Programming.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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