Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Compiler cannot create executables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Fri Apr 15, 2005 2:19 pm    Post subject: [SOLVED] Compiler cannot create executables Reply with quote

Hi guys,

I'm currently trying to install Gentoo on a Sun Ultra5 but compiling failed during the bootstrap process. I've already searched the forums for a solution but I couldn't find one. This is the error message:
Code:
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

I've uploaded the complete error log here.

Hope someone can help me :)
mondauge


Last edited by mondauge on Sat Apr 16, 2005 10:21 am; edited 1 time in total
Back to top
View user's profile Send private message
jamesdick628
Apprentice
Apprentice


Joined: 14 Oct 2004
Posts: 158
Location: Worcester, MA

PostPosted: Fri Apr 15, 2005 2:50 pm    Post subject: Reply with quote

This has happened to me when switching from gcc-3.4.x to 3.3.x without changing my CFLAGS. I have a pentium-m, so having -march=pentium-m in my CFLAGS using gcc-3.3.x will cause an error because that version does not support those optimizations. This is the only time I have seen that error. Maybe you could change your CFLAGS/CXXFLAGS around? It's the only thing I can think of at the moment.
Back to top
View user's profile Send private message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Fri Apr 15, 2005 5:35 pm    Post subject: Reply with quote

Mhmm... that seems to be a likely reason. I will try some other flags.

thx for helping,
mondauge
Back to top
View user's profile Send private message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Sat Apr 16, 2005 10:21 am    Post subject: Reply with quote

Ok.. I solved the issue. I had to change my CFLAGS from
Code:
march=ultrasparc
to
Code:
mcpu=ultrasparc

mondauge
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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