This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi All, I am building a e500 toolchain for linux 2.4 kernel via crosstools. I have following errorss: checking build system type... i686-pc-linux-gnu checking host system type... powerpc-unknown-linux-gnuspe checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf sysdeps/unix/sysv/linux/powerpc/powerpc32 sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/powerpc sysdeps/unix sysdeps/posix sysdeps/powerpc/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/soft-fp sysdeps/powerpc sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for pwd... /bin/pwd checking for powerpc-linux-gnuspe-gcc... gcc checking version of gcc... 3.4.2, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 3.80, ok checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... msgfmt checking version of msgfmt... 0.14.1, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.7, ok checking for sed... sed checking version of sed... 4.1.2, ok checking for autoconf... autoconf checking whether autoconf works... yes checking for powerpc-linux-gnuspe-gcc... (cached) gcc checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [/localdisk/users/minzheng/tools/crosstool-0.43/build/powerpc-linux-gnuspe/gcc-3_3-e500-glibc-2.3.2-spe/build-glibc-headers/config.status] Error 1 make[1]: Leaving directory `/localdisk/users/minzheng/tools/crosstool-0.43/build/powerpc-linux-gnuspe/gcc-3_3-e500-glibc-2.3.2-spe/glibc-2.3.2-spe' make: *** [sysdeps/gnu/errlist.c] Error 2 Any clue what is wrong? Thanks in advance, Mike All the tar files are from Freescale and locate as following: > ls ~/downloads/workdir/ binutils-2.14.tar.bz2 gcc-3_3-e500.tar.gz glibc-2.3.2-spe.tar.gz glibc-linuxthreads-2.3.2.tar.bz2 linux-2.4.26.tar.bz2 Here are the script files I generated: > cat demo-e500.sh #!/bin/sh set -ex TARBALLS_DIR=$HOME/downloads/workdir RESULT_TOP=/opt/crosstool export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES="c,c++" export GCC_LANGUAGES #EXTRA_PATCHES="spe" #export EXTRA_PATCHES # Really, you should do the mkdir before running this, # and chown /opt/crosstool to yourself so you don't need to run as root. mkdir -p $RESULT_TOP # Build the toolchain. #eval `cat powerpc-e500.dat gcc-3.3.1-e500-glibc-2.3.2.dat` sh all.sh --notest eval `cat powerpc-e500.dat gcc-3_3-e500-glibc-2.3.2-spe.dat` sh all.sh --notest echo Done. > cat powerpc-e500.dat TARGET=powerpc-linux-gnuspe TARGET_CFLAGS="-O" GLIBC_ADDON_OPTIONS="=linuxthreads" > cat gcc-3_3-e500-glibc-2.3.2-spe.dat BINUTILS_DIR=binutils-2.14 GCC_DIR=gcc-3_3-e500 GLIBC_DIR=glibc-2.3.2-spe LINUX_DIR=linux-2.4.26 GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |