This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Error building H8/300 cross compiler
- To: egcs at cygnus dot com
- Subject: Re: Error building H8/300 cross compiler
- From: Manfred Metzger <ManfredMetzger at swol dot de>
- Date: Mon, 09 Mar 1998 23:59:14 +0100
- References: <3502BE1C.8170715D@swol.de>
Manfred Metzger wrote:
>
> Iīm trying to build a crosscompiler for H8/300 on Linux with:
>
> ../configure --prefix=/usr --target=h8300-hms
> --with-newlib
> make cross
>
> It always fails configuring libf2c with the following output:
>
> (...)
> checking f2c integer type... long int
> checking f2c long int type...
> configure: error: Can't determine type for f2c long int; config.log may
> help.
> make[2]: *** [configure-target-libf2c] Error 1
> make[2]: Leaving directory `/usr/src/gnu/egcs-980302/h8300-hms'
> make[1]: *** [cross] Error 2
> (...)
>
> This happens at least with egcs-980302 and egcs-980308. It worked with
> an older
> snapshot (I canīt remember which one).
>
It worked (at least) with egcs-2.90.18 and egcs-2.91.07, since these
compilers are still on my harddisk.
How about this patch.
Mon Mar 9 23:58:00 1998 Manfred Metzger <ManfredMetzger@swol.de>
* configure.in: Include target-libf2c to noconfigdirs
for h8300 and h8500.
--- configure.in.orig Sun Mar 8 15:52:12 1998
+++ configure.in Mon Mar 9 19:07:13 1998
@@ -545,7 +545,7 @@
;;
h8300*-*-* | \
h8500-*-*)
- noconfigdirs="$noconfigdirs target-libg++ target-libstdc++
target-libio target-librx target-libgloss"
+ noconfigdirs="$noconfigdirs target-libg++ target-libstdc++
target-libio target-librx target-libgloss target-libf2c"
;;
hppa*-*-*elf* | \
hppa*-*-lites*)