This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems building m68k-elf version of gcc-20020204
- From: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 8 Feb 2002 17:25:43 -0500
- Subject: Problems building m68k-elf version of gcc-20020204
I'm having trouble building a stock gcc-20020204 configured as
follows:
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3/configure --with-gcc-version-trigger=/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3/gcc/version.c --host=i686-pc-linux-gnu --target=m68k-elf --prefix=/tmp/gcc-3 --enable-languages=c,c++ --with-local-prefix=/tmp/gcc-3/m68k-elf --norecursion
#
I've built up and installed binutiles-2.11.2, and newlib-1.9.0, as
well as gcc-20020204 C compiler. Now I'm trying to build the C++
compiler, and its failing with:
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/gcc/xgcc -B/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/gcc/ -nostdinc++ -L/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/src -L/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/src/.libs -B/tmp/gcc-3/m68k-elf/bin/ -B/tmp/gcc-3/m68k-elf/lib/ -isystem /tmp/gcc-3/m68k-elf/include -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3/libstdc++-v3/../gcc -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3/libstdc++-v3/../include -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/m68k-elf -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-t!
!
!
emplates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c /home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3/libstdc++-v3/libsupc++/eh_alloc.cc -o eh_alloc.o
In file included from /home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3/libstdc++-v3/libsupc++/eh_alloc.cc:34:
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:84: `
div_t' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:85: `
ldiv_t' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:95: `
div' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:100: `
ldiv' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:102: `
mblen' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:103: `
mbstowcs' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:104: `
mbtowc' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:113: `
wcstombs' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:114: `
wctomb' not declared
/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/include/cstdlib:120: syntax
error before `(' token
make[3]: *** [eh_alloc.lo] Error 1
make[3]: Leaving directory `/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/gcc-3/m68k-elf/build-gcc/m68k-elf/libstdc++-v3/libsupc++'
Untortunately I don't C++, so I don't have a clue what is going
wrong.
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)