Hi all,

I searched the list, read all the documents mentioned in the previous posts, and still can not figure what I am doing wrong. I am affraid that this is very n00bish question.

I am using PegasOS box, Gentoo is running fine. I downloaded stage3-ppc-uclibc-2005.3.tar.bz2 from one of the mirrors, untared it, and tried to chroot to the new environment. Once there, everything works except my gcc. The detailed list of commands can be found at the bottom of this message, gcc behavior is on the very bottom of that list.

If there is a kind soul who can spot what I am doing wrong, or help me figure this one out, I would be more than grateful.

TIA,
Aleksandar.
-------------
# tar -xvjf stage3-ppc-uclibc-2005.3.tar.bz2 -C /mnt/sandbox
# cp /etc/resolv.conf /mnt/sandbox/etc/resolv.conf
# export CHROOT_ROOT="/mnt/sandbox"
# echo -ne "\033]0;${CHROOT_ROOT}\007"
# mount -o bind /proc ${CHROOT_ROOT}/proc
# mount -o bind /usr/portage ${CHROOT_ROOT}/usr/portage
# chroot ${CHROOT_ROOT} /bin/bash -l
chrooting to /mnt/sandbox
/ # env-update
Regenerating /etc/ld.so.cache...
* Caching service dependencies...
/ # source /etc/profile
/ # emerge info
Portage 2.0.51-r2 (uclibc/ppc, gcc-3.4.1, uclibc-0.9.26-r5, 2.6.10-pegasos-r2 ppc)
=================================================================
System uname: 2.6.10-pegasos-r2 ppc 7447/7457, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers: sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="powerpc-pc-linux-uclibc"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo";
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc berkdb ncurses perl python readline ssl uclibc zlib"
/ # gcc-config -l
[1] powerpc-pc-linux-uclibc-3.4.1 *
/ # gcc-config 1
* Switching to powerpc-pc-linux-uclibc-3.4.1 compiler... [ ok ]
/ # gcc-config -B
/usr/powerpc-pc-linux-uclibc/gcc-bin/3.4
/ # gcc-config -L
/usr/lib/gcc-lib/powerpc-pc-linux-uclibc/3.4.1
/ # gcc-config -X
/usr/lib/gcc-lib/powerpc-pc-linux-uclibc/3.4.1/include/g++-v3
/ # gcc
gcc: /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/: Is a directory
/ # gcc -v
Reading specs from /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/specs
Reading specs from /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/
gcc: /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/: Is a directory




--
[email protected] mailing list



Reply via email to