Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best time to emerge GCC 3.4.x ? [solved]
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
jlmcp
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2005
Posts: 134

PostPosted: Mon May 02, 2005 2:22 am    Post subject: Best time to emerge GCC 3.4.x ? [solved] Reply with quote

Building a fresh system here and just finished page 6 of the Gentoo Handbook (right before you config the kernel). I figured this was as good a time as any to run:

Code:
# ACCEPT_KEYWORDS="~x86" emerge --update gcc


Basically trying to update my compiler so that I can take advantage of the march=pentium-m flag. However I get an error on the first package (sys-devel/patch-2.5.9-r1) which gave me the following before quitting:

Code:
checking for C compiler default output... configure:error: C compiler cannot create executables


Anyone seen this before, or know if I am just trying to update GCC in the wrong place or something? Maybe I cannot "update" GCC and I have to run version 3.3.5 and 3.4.3 in parallel?

Open to suggestions.

Jake


Last edited by jlmcp on Mon May 02, 2005 8:06 am; edited 1 time in total
Back to top
View user's profile Send private message
jlmcp
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2005
Posts: 134

PostPosted: Mon May 02, 2005 2:47 am    Post subject: Found some links... Reply with quote

[FAQF] C compiler cannot create executables
https://forums.gentoo.org/viewtopic-p-2190268.html

"C compiler cannot create executables" !??!
https://forums.gentoo.org/viewtopic.php?t=27486

Both of these have bunny-trails galore about this particular error. It looks like there might be some kind of chicken and egg scenario going on here. I curently have the 'march=pentium-m' flag set, but the current compiler I would be using to emerge gcc 3.4.3 is version 3.3.5 .. which doesn't support that CFLAG. Maybe what I need to do is:

    1. Set CFLAG back to 'march=penitum3' in /etc/make.conf
    2. ACCEPT_KEYWORDS="~x86" emerge --update gcc <update to gcc 3.4.3>
    3. gcc-config X <set X= to profile of new gcc version>
    4. emege --prune gcc <to get rid of the older 3.3.5 version>
    5. Set 'march=pentium-m' in /etc/make.conf


Thoughts?

Jake
Back to top
View user's profile Send private message
jlmcp
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2005
Posts: 134

PostPosted: Mon May 02, 2005 8:05 am    Post subject: Reply with quote

This worked!

Jake
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri May 06, 2005 12:18 pm    Post subject: Re: Found some links... Reply with quote

jlmcp wrote:
[FAQF] C compiler cannot create executables
https://forums.gentoo.org/viewtopic-p-2190268.html

"C compiler cannot create executables" !??!
https://forums.gentoo.org/viewtopic.php?t=27486

Both of these have bunny-trails galore about this particular error. It looks like there might be some kind of chicken and egg scenario going on here. I curently have the 'march=pentium-m' flag set, but the current compiler I would be using to emerge gcc 3.4.3 is version 3.3.5 .. which doesn't support that CFLAG. Maybe what I need to do is:

    1. Set CFLAG back to 'march=penitum3' in /etc/make.conf
    2. ACCEPT_KEYWORDS="~x86" emerge --update gcc <update to gcc 3.4.3>
    3. gcc-config X <set X= to profile of new gcc version>
    4. emege --prune gcc <to get rid of the older 3.3.5 version>
    5. Set 'march=pentium-m' in /etc/make.conf


Thoughts?

Jake


Moved to Duplicate Threads.
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