After emerging gcc-4.1.1 I have no new version of g++. I suppose that my USE flags are ok (nocxx is off). emerge -pv gcc shows: [ebuild R ] sys-devel/gcc-3.4.6-r2 USE="fortran gtk nls (-altivec) -bootstrap -boundschecking -build -doc -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB But after emerge in /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 I have only: cpp gcc gccbug gcov i686-pc-linux-gnu-gcc i686-pc-linux-gnu-gcc-4.1.1 My emerge --info: Portage 2.1.2_pre1-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.5 Last Sync: Wed, 27 Sep 2006 16:00:08 +0000 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pl_PL" LC_ALL="pl_PL" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d a52 aac aalib alsa apache2 apm aqua_theme arts asf avi berkdb bidi bitmap-fonts bluetooth browserplugin carbone_theme cli crypt cups divx dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd exif extraicons extramodules fbcon fbsplash ffmpeg foomaticdb fortran gdbm gif gpm gsm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kernel_linux lame libg++ libwww linguas_pl live lm_sensors logitech-mouse mad matroska mikmod mmx motif mp3 mpeg mplayer music ncurses neXt nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pcre pdf perl png pppd python qt qt3 qt4 quicktime readline real reflection scanner sdl session spell spl ssl svg tcpd tiff tools truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l1 v4l2 video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vidix voice vorbis win32codecs wmp xcomposite xml xmms xorg xscreensaver xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > emerge -pv gcc shows: > [ebuild R ] sys-devel/gcc-3.4.6-r2 USE="fortran gtk nls (-altivec) > -bootstrap -boundschecking -build -doc -gcj (-hardened) -ip28 -ip32r10k > (-multilib) -multislot (-n32) (-n64) -n1.3.13-r4ocxx -nopie -nossp -objc -test -vanilla" Irrelevant, that's output for wrong version. Unmerge eselect-compiler, emerge gcc-config-1.3.13-r4 and set gcc to 4.1.1 with gcc-config) If you are still missing g++ then, post the output of emerge -pv =gcc-4.1*
See above.
the wrappers do not affect the binaries in /usr/$CTARGET/bin/$VER/ ... that comes completely from gcc/toolchain.eclass
emerge `emerge -pv` output for *gcc-4.1.1*, not for gcc-3.4.6 if it still hows -nocxx, then post the output of `emerge gcc >& log` as an attachment
I had binaries from gcc-4.1.1 but it was masked in package.mask (I have no idea how it could happend). I've unmasked it, reemerged and now it works fine. Sorry to bother you.