problems building a crosscompiler
Michael Wisse
mwisse@hs-harz.de
Tue Jan 9 08:42:00 GMT 2001
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
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list