This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Trouble building GCC for SH-HMS target
- To: gcc-help at gcc dot gnu dot org
- Subject: Trouble building GCC for SH-HMS target
- From: "John Lowen" <JLowen at amtdatasouth dot com>
- Date: Thu, 17 May 2001 10:19:33 -0400
I am having trouble building the compiler for the Hitachi SH1 processor. I am trying to follow the instructions that I have seen and have done the following:
USING Redhat Linux version 7.0 as host:
1. Successfully built BINUTILS-2.11 using target=sh-hms
2. ERROR during build of GCC-2.95.3
I unpacked the sources to gcc-2.95.3, created a directory called build-gcc at the same directory level as gcc-295.3 and configured using the following:
cd build-gcc
../gcc-2.95.3/configure --prefix=/usr/local --target=sh-hms --with-newlib --enable-languages=c
make
The make proceeds through quite a few compilations, etc. and stops with the following errors:
_muldi3
/tmp/cc3svXvq.s: Assembler messages:
/tmp/cc3svXvq.s:1: Fatal error: dwarf2 is not supported for this object file format
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/home/jlowen/gnu/build-gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/home/jlowen/gnu/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/home/jlowen/gnu/build-gcc/gcc'
make: *** [all-gcc] Error 2
[jlowen@localhost build-gcc]$
Can anyone help me? I am also interested in knowing if there are others that have tried building for the SH1 target.
Thanks,
John
AMT-Datasouth
jlowen@amtdatasouth.com
http://www.datasouth.com
(704)523-8500 ext. 132