I'm experiencing problem emerging gcc-4.1.1 from my gentoo just scratched from stage #3. I got following error: .... ... configure entries... checking for C compiler default output file name... configure: error: C compiler cannot create executables and in config.log: ... configure:2514: checking for C compiler default output file name configure:2517: gcc -O3 -march=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math conftest.c >&5 gcc: installation problem, cannot exec `as': No such file or directory configure:2520: $? = 2 .... #### Here my emerge --info### 86) ================================================================= System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups dlloader dri dvd dvdr eds emboss encode expat foomaticdb fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib video_cards_radeon video_cards_fglrx video_cards_vesa input_devices_keyboard input_devices_mouse userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY My laptop has a centrino CPU. Is anybody help me solving my problem?
looks like your installation of binutils is corrupt / missing do you have "binutils" installed ? if so, what does `binutils-config -l` show ?
thanks spanKY! It seems compiling now. I emerged binutils again and now gcc-4.1.1's still compiling...