This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: h8300-elf build fails in libf2c
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: Andreas Jaeger <aj at suse dot de>, <gcc-bugs at gcc dot gnu dot org>, Toon Moene <moene at knmi dot nl>, Kazu Hirata <kazu at cs dot umass dot edu>
- Date: Tue, 16 Jul 2002 17:13:35 -0400 (EDT)
- Subject: Re: h8300-elf build fails in libf2c
On Sat, 13 Jul 2002, Toon Moene wrote:
> Andreas Jaeger wrote:
> >
> > Crosscompiling h8300-elf from i686-linux-gnu fails with:
> >
> > checking how to run the C preprocessor... (cached) /mmix/h8300-elf/build/gcc/xgcc -B/mmix/h8300-elf/build/gcc/ -nostdinc -B/mmix/h8300-elf/build/h8300-elf/newlib/ -isystem /mmix/h8300-elf/build/h8300-elf/newlib/targ-include -isystem /mmix/cross-sources/combined/newlib/libc/include -B/mmix/h8300-elf/install/h8300-elf/bin/ -B/mmix/h8300-elf/install/h8300-elf/lib/ -isystem /mmix/h8300-elf/install/h8300-elf/include -L/mmix/h8300-elf/build/ld -E
Isn't this when building libf2c? Why is that built? It was
shut off by default 2001-11 for h8300 and h8500. Oh, I see
disabling libf2c has disappeared for h8300-*-*. It seems a part
of 1.128 of configure.in (part of a larger import by D.J.) was
supposed to "Enable libstdc++-v3 for h8300 targets" and
accidentally enabled libf2c too.
> > checking for stdio.h... yes
> > checking for built-in g77 integer types... no
> > configure: error: gcc doesn't define all of the built in types __g77_integer,
> > __g77_uinteger, __g77_longint, and __g77_ulongint. You may not be using
> > a new enough version of gcc, or your target may not have type sizes which
> > accommodate those types.
>
> These are defined in c-common.c. I have no idea why some of them might
> not be defined for h8300. Perhaps you can dig further now you know
> where to look ?
We've been through this before, see
<URL:http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00888.html>.
I'll re-apply a patch to the effect of disabling libf2c as
obvious.
brgds, H-P