This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: problems building a crosscompiler
- To: Yves Rutschle <y dot rutschle at indigovision dot com>
- Subject: Re: problems building a crosscompiler
- From: "Michael Wisse" <mwisse at hs-harz dot de>
- Date: Thu, 11 Jan 2001 11:59:02 +0100
- CC: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>, "'crossgcc at sourceware dot cygnus dot com'" <crossgcc at sourceware dot cygnus dot com>
- References: <c=US%a=_%p=Indigo_Active_Vi%l=CRIANLARICH-010109164510Z-10294@crianlarich.indigo-avs.com>
Hallo Yves!
Yes it helped, thanks.
I was unsure, if I should build newlib, but it's not necessary.
Additionally I had to add --with-headers to gcc-configuration.
(Perhaps someone has the same problem again.)
Curios was, that I had to make the crosscompiler twice (without "make
clean" in beetween), before the make process finished without errors.
While the first run, there always (I did make and make clean sometimes
to reproduce the error) was an error:
gcc: Internal compiler error: program cc1 got fatal signal 11
Has anyone an idea?
Greetings to Scotland and best regards.
Michael Wisse
Hochschule Harz
Fachbereich Automatisierung und Informatik
D-38855 Wernigerode
Yves Rutschle schrieb:
>
> > ./fixinc.sh: cd:
> > /usr/local/crossgcc/h8300-hitachi-hms/h8300-hitachi-hms/sys-inc
> > lude: Datei oder Verzeichnis nicht gefunden
>
> There are linuxes out there that talk german? wow.
>
> >
> > Probably the warnings can be ignored, but make doesn't find include
> > files. First line says, that an include directory can't be found.
>
> I don't know about the warnings.
> For the rest, you need to add the header files of the library you
> use.
>
> Assuming you use newlib, go in gcc-2.95.2 and add the links:
> ln -s ../newlib-1.8.2/newlib newlib
> ln -s ../newlib-1.8.2/libgloss libgloss
>
> Then reconfigure and make should work okay.
>
> Hope I'm right and that helps (heck, I'm new at that too :-)
> Y.