# gcc-config -c Tells you what version is currently used # gcc-config -l Tells you what versions are available. If yours isn't listed anymore: # gcc-config <new_profile> # env-update # source /etc/profile
On Sun, 27 Feb 2005 11:31:33 +0100, Henrik Andersson <[EMAIL PROTECTED]> wrote: > I had an idea about running my box with ACCEPT_KEYWORDS="~x86". > And then I did it. > > Now my gcc seems broken. > > while trying to emerge gcc > > >>> Source unpacked. > * CFLAGS="-march=athlon-xp -O2 -pipe" > * CXXFLAGS="-march=athlon-xp -O2 -pipe" > * Configuring gcc ... > QA Notice: USE Flag 'altivec' not in IUSE for sys-devel/gcc-3.4.3.20050110 > * running gcc-compiler-configure > * The f95 language is not supported by this release of gcc > * configuring for GCC_LANG: c,c++,f77 > > * PREFIX: /usr > * BINPATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110 > * LIBPATH: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 > * DATAPATH: /usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110 > * STDCXX_INCDIR: > /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3 > > * Configuring GCC with: --enable-version-specific-runtime-libs > --prefix=/usr > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110 > --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110 > > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man > > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info > > --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3 > --host=i686-pc-linux-gnu --disable-altivec --enable-nls > --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu > --with-system-zlib --disable-checking > --disable-werror --disable-libunwind-exceptions > --enable-shared --enable-threads=posix --disable-multilib > --disable-libgcj --enable-languages=c,c++,f77 > > creating cache ./config.cache > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking build system type... i686-pc-linux-gnu > checking for a BSD compatible install... /bin/install -c > *** This configuration is not supported in the following subdirectories: > target-libffi target-boehm-gc target-zlib target-libjava zlib > fastjar target-libobjc > (Any other directories should still work fine.) > gcc: installation problem, cannot exec `as': No such file or directory > *** The command 'gcc -o conftest -march=athlon-xp -O2 -pipe > conftest.c' failed. > *** You must set the environment variable CC to a working compiler. > > zim henrik # echo $CC > /usr/bin/gcc > zim henrik # > > zim henrik # emerge --info > Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, > glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) > ================================================================= > System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) > Gentoo Base System version 1.6.9 > Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 27 2005, > 10:40:40)] > distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) > [disabled] > dev-lang/python: 2.3.5 > sys-devel/autoconf: 2.59-r6, 2.13 > sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 > sys-devel/binutils: 2.15.92.0.2-r4 > sys-devel/libtool: 1.5.10-r5 > virtual/os-headers: 2.6.8.1-r2 > ACCEPT_KEYWORDS="x86 ~x86" > AUTOCLEAN="yes" > CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env > /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config > /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config > /var/qmail/control" > CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" > CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" > GENTOO_MIRRORS="http://gir.shacknet.nu:8080/gentoo/ > http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > SYNC="rsync://gir.local/gentoo-portage" > USE="x86 3dnow X acl alsa apm avi bash-completion berkdb bitmap-fonts > cdr crypt cups curl dvd dvdr emacs emboss encode esd f77 fam flac > font-server foomaticdb fortran gdbm ggi gif gnome gphoto2 gpm gstreamer > gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod mmx > motif mozilla mpeg nas ncurses nls nptl nptlonly oggvorbis opengl oss > pam pcre pdflib perl png python quicktime readline samba sdl slang spell > sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb xml xml2 > xmms xv zlib" > Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY > > zim henrik # > > what to do? > > //Henrik > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list