View previous topic :: View next topic |
Author |
Message |
kirikou Tux's lil' helper
Joined: 03 Nov 2006 Posts: 83
|
Posted: Tue Aug 07, 2007 4:48 pm Post subject: [SOLVED] Unable to compile old gcc needed by libstdc++ |
|
|
Hello!
Here is my make.conf (partial)
Code: | CFLAGS="-O2 -march=pentium-m -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j2" |
When I do an emerge gnome-light, virtual/libstdc++-3.3 has a dependency on gcc-3.3.6-r1 (which does not support the -march option given in my make.conf).
(I saw it in the build.log below). I tried anyway to compile it, but get the following error:
Code: | emake failed with bootstrap-lean |
Part of the build.log (I can give the full, but it will take some place...)
Code: | cc1: error: bad value (pentium-m) for -march= switch
cc1: error: bad value (pentium-m) for -mcpu= switch |
Any idea on how to solve this problem?
Thanks!!
Last edited by kirikou on Tue Aug 07, 2007 9:28 pm; edited 1 time in total |
|
Back to top |
|
|
adsmith Veteran
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Tue Aug 07, 2007 4:54 pm Post subject: |
|
|
instead of letting virtual/libstdc++ install an old gcc, force it to install the compatibiltiy layer for a new gcc:
Code: |
emerge -1 sys-libs/libstdc++-v3
|
Then try again. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Aug 07, 2007 5:19 pm Post subject: |
|
|
Moved from Installing Gentoo to Portage & Programming.
Not about getting gentoo installed, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
kirikou Tux's lil' helper
Joined: 03 Nov 2006 Posts: 83
|
Posted: Tue Aug 07, 2007 9:26 pm Post subject: |
|
|
Thanks it works!
(I have posted this in installing gentoo, because it happened while I was installing it! But doesn't matter now since the problem is solved!) |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|