[uClibc]Error building the gcc-2.95 toolchain for powerpc

Pedro I. Sanchez psanchez at nortelnetworks.com
Sun Nov 3 15:47:36 UTC 2002


Hello,

I'm running Debian GNU/Linux on an x86 platform and I'm trying to build
the gcc-2.95 uclibc cross-compiler for the powerpc architecture.

I downloaded the gcc-2.95 toolchain from the uclibc site and edited the
Makefile to have ARCH:=powerpc. I then run make and got the error that
follows my signature.

I would apprecitate if you can give me a hint on what's happening.

Thank you,

-- 
Pedro

...
cp /usr/local/ppc/gcc-2.95/build/uClibc/extra/Configs/Config.powerpc
/usr/local/ppc/gcc-2.95/build/uClibc/Config~;
echo "TARGET_ARCH=powerpc" >>
/usr/local/ppc/gcc-2.95/build/uClibc/Config~
perl -i -p -e 's,^HAS_WCHAR.*,HAS_WCHAR=false,g'
/usr/local/ppc/gcc-2.95/build/uClibc/Config~
perl -i -p -e 's,^PREFIX.*,,g'
/usr/local/ppc/gcc-2.95/build/uClibc/Config~
perl -i -p -e 's,^CROSS.*,CROSS=,g'
/usr/local/ppc/gcc-2.95/build/uClibc/Config~perl -i -p -e
's,^SYSTEM_DEVEL_PREFIX.*,SYSTEM_DEVEL_PREFIX=/usr/local/uclibc,g' \
/usr/local/ppc/gcc-2.95/build/uClibc/Config~
perl -i -p -e 's,^UNIX98PTY_ONLY.*,UNIX98PTY_ONLY=false,g'
/usr/local/ppc/gcc-2.95/build/uClibc/Config~
/usr/local/ppc/gcc-2.95/build/uClibc/extra/Configs/uClibc_config_fix.pl
\
--arch=powerpc \
--cross=/usr/local/uclibc/bin/powerpc-uclibc- \
--c99_math=true \
--devel_prefix=/usr/local/uclibc \
--kernel_dir=/usr/local/ppc/gcc-2.95/build/linux \
--long_long=true \
--float=true \
--shadow=true \
--threads=true \
--rpc_support=true \
--large_file=true \
--mmu=true \
--debug=false \
--ldso_path="/lib" \
        --shared_support=true \
        --file=/usr/local/ppc/gcc-2.95/build/uClibc/Config~ \
        > /usr/local/ppc/gcc-2.95/build/uClibc/Config; 
Unknown option: long_long
# Note that since the target compiler does not yet exist, we will not
# be able to properly generate include/bits/syscall.h so we will need
# to run part again later...
make -C /usr/local/ppc/gcc-2.95/build/uClibc headers uClibc_config
install_dev;
make[1]: Entering directory `/usr/local/ppc/gcc-2.95/build/uClibc'
make[1]: *** No rule to make target `uClibc_config'.  Stop.
make[1]: Leaving directory `/usr/local/ppc/gcc-2.95/build/uClibc'
make: *** [/usr/local/ppc/gcc-2.95/build/uClibc/.configured] Error 2







More information about the uClibc mailing list