This is the mail archive of the crossgcc@sources.redhat.com 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]

Problem Building GCC for Hitachi SH-1 (sh-hms)


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




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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