This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc for sh-elf



I'm setting myself up for Hitachi SH processors, and have tried to follow
the instructions for building the development tools for eCos. Binutils
seems to compile fine, but I'm stuck at the compiler.

The compiler proper seems to build, but it fails when trying to build
tcrtbegin, as shown below. I've tried a couple different snapshots with
identical results. Have I missed something?

make[3]: Entering directory `/usr/local/src/obj/sh-elf/gcc-20001101/gcc'
/usr/local/src/obj/sh-elf/gcc-20001101/gcc/xgcc -B/usr/local/src/obj/sh-elf/gcc-20001101/gcc/ -nostdinc -B/usr/local/src/obj/sh-elf/gcc-20001101/sh-elf/newlib/ -isystem /usr/local/src/obj/sh-elf/gcc-20001101/sh-elf/newlib/targ-include -isystem /usr/local/src/gcc-20001101/newlib/libc/include -B/usr/local/sh-elf/bin/ -B/usr/local/sh-elf/lib/ -isystem /usr/local/sh-elf/include -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/usr/local/src/gcc-20001101/gcc -I/usr/local/src/gcc-20001101/gcc/. -I/usr/local/src/gcc-20001101/gcc/config -I/usr/local/src/gcc-20001101/gcc/../include  -g0 \
  -finhibit-size-directive -fno-inline-functions \
  -fno-exceptions  -Dinhibit_libc \
  -c /usr/local/src/gcc-20001101/gcc/crtstuff.c -DCRT_BEGIN -o tcrtbegin.o
/tmp/ccAnVdas.s: Assembler messages:
/tmp/ccAnVdas.s:87: Error: operation combines symbols in different segments
make[3]: *** [tcrtbegin.o] Error 1
make[3]: Leaving directory `/usr/local/src/obj/sh-elf/gcc-20001101/gcc'
make[2]: *** [crtbegin.o] Error 2
make[2]: Leaving directory `/usr/local/src/obj/sh-elf/gcc-20001101/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/local/src/obj/sh-elf/gcc-20001101/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/usr/local/src/obj/sh-elf/gcc-20001101'
69.9% CPU (Elapsed=22:10.13, sys=94.697, user=835.424)

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]