emerge --info ---- Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-ck11 x86_64) ================================================================= System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r2 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/eselect/compiler /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.du.se/pub/os/gentoo http://mirror.uni-c.dk/pub/gentoo/ http://ds.thn.htu.se/linux/gentoo" LANG="sv_SE.UTF-8" LC_ALL="sv_SE.UTF-8" LINGUAS="sv" 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.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa anthy arts audiofile avi bitmap-fonts boundschecking browserplugin cdparanoia cdr cjk crypt css cups curl dbus dmi dri dvd dvdr dvdread eds emboss encode fam ffmpeg flac font-server foomaticdb ftp gd gif gpm hal iconv icq imagemagick imlib immqt insecure-drivers jabber java javascript jpeg kde lm_sensors mad matroska memlimit mikmod mod mono mp3 mp4 mpeg mpeg2 mpeg4 mplayer msdfs msn ncurses network nls no-old-linux no_wxgtk1 nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar pam pcre pdflib perl png posix python qt qt4 quicktime rar readline reiserfs samba sdl sockets spell ssl subtitles subversion sysfs syslog tcpd tetex theora threads tiff transcode truetype truetype-fonts type1 type1-fonts udev uim unicode usb userlocales utf8 vcd vim vnc vorbis x11vnc x264 xcomposite xfs xim xine xml xml2 xorg xpm xrandr xscreensaver xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_sv userland_GNU video_cards_ati video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS ---- With gcc-config installed: ---- $ gcc32 gcc: no input files $ gcc64 gcc: no input files $ g++32 g++: no input files $ g++64 g++: no input files ---- Whitout gcc-config installed: ---- $ gcc32 sh: /usr/bin/gcc-config: No such file or directory gcc-config error: Could not get compiler binary path: No such file or directory $ gcc64 sh: /usr/bin/gcc-config: No such file or directory gcc-config error: Could not get compiler binary path: No such file or directory $ g++32 sh: /usr/bin/gcc-config: No such file or directory gcc-config error: Could not get compiler binary path: No such file or directory $ g++64 sh: /usr/bin/gcc-config: No such file or directory gcc-config error: Could not get compiler binary path: No such file or directory ---- the longer variants, x86_64-pc-linux-gnu-{gcc,g++}{32,64} isn't working ether. -- all gcc releted commands not ending in 32 or 64 is working.
Those were installed by the old gcc-config. Please delete them and instead use ${CHOST}-gcc or just 'gcc -m32' or 'gcc -m64'.