This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problems building a crosscompiler
- To: gcc-help at gcc dot gnu dot org
- Subject: problems building a crosscompiler
- From: "Michael Wisse" <mwisse at hs-harz dot de>
- Date: Tue, 09 Jan 2001 17:42:38 +0100
- CC: crossgcc at sourceware dot cygnus dot com
Hallo !
I try to build a crosscompiler for a LEGO-RCX (with Hitachi H8300
microcontroller).
with help of instructions from legOS.sourceforge.net.
I use suse linux 6.4 and downloaded binutils2.10.1 and
gcc2.95.2. Configuring and Building of binutils2.10.1 seemed to work
fine on my system with:
../binutils-2.10.1/configure --target=h8300-hitachi-hms
--prefix=/usr/local/crossgcc
--exec-prefix=/usr/local/crossgcc/h8300-hitachi-hms
I couldn't see any errors from the make process.
I configured gcc for hitachi8300 with following:
../gcc-2.95.2/configure --target=h8300-hitachi-hms
--prefix=/usr/local/crossgcc
--exec-prefix=/usr/local/crossgcc/h8300-hitachi-hms --with-newlib
--enable-target-optspace 2
" make -i cross LANGUAGES="c c++" produces many warnings and errors:
./fixinc.sh: cd:
/usr/local/crossgcc/h8300-hitachi-hms/h8300-hitachi-hms/sys-inc
lude: Datei oder Verzeichnis nicht gefunden
.
.
.
../../gcc-2.95.2/gcc/libgcc2.c:2455: warning: large integer implicitly
truncated
to unsigned type
../../gcc-2.95.2/gcc/libgcc2.c:2456: warning: large integer implicitly
truncated
to unsigned type
.
.
.
../../../gcc-2.95.2/libiberty/cplus-dem.c:36: ctype.h: Datei oder
Verzeichnis ni
cht gefunden
../../../gcc-2.95.2/libiberty/cplus-dem.c:37: sys/types.h: Datei oder
Verzeichni
s nicht gefunden
../../../gcc-2.95.2/libiberty/cplus-dem.c:38: string.h: Datei oder
Verzeichnis n
icht gefunden
../../../gcc-2.95.2/libiberty/cplus-dem.c:39: stdio.h: Datei oder
Verzeichnis ni
cht gefunden
../../../gcc-2.95.2/libiberty/cplus-dem.c:42: stdlib.h: Datei oder
Verzeichnis n
icht gefunden
Probably the warnings can be ignored, but make doesn't find include
files. First line says, that an include directory can't be found.
Must I edit the Makefile to include a directory?
Didn't building of binutils worked correct, so that an include directory
is missing?
I don't know. I have no experiences with building a cross compiler and I
would be glad, if someone could give me an advice.
Best regards
Michael Wisse
Hochschule Harz
D-38855 Wernigerode