bootstrapping fortran fails on mips-linux
Andreas Jaeger
aj@oss.sgi.com
Tue Apr 11 12:12:00 GMT 2000
I'm trying to cross compile from i686-linux to mips-linux and get the
following bug:
gcc -c -DCROSS_COMPILE -DIN_GCC -g -W -Wall -Wtraditional -W -Wall -I. -I.. -I/home/aj/egcs/gcc/f -I/home/aj/egcs/gcc/f/.. -I/home/aj/egcs/gcc/f/../config -I/home/aj/egcs/gcc/f/../../include /home/aj/egcs/gcc/f/com.c
In file included from /home/aj/egcs/gcc/f/com.c:200:
/home/aj/egcs/gcc/f/com.h:130: parse error
/home/aj/egcs/gcc/f/com.h:133: parse error
/home/aj/egcs/gcc/f/com.h:137: #error Cannot find a suitable type for FFECOM_f2cINTEGER
/home/aj/egcs/gcc/f/com.h:140: parse error
The problem is that config/mips/mips.h defines:
#define LONG_TYPE_SIZE ((unsigned int) (TARGET_LONG64 ? 64 : 32))
#define FLOAT_TYPE_SIZE 32
and com.h uses:
#if LONG_TYPE_SIZE == FLOAT_TYPE_SIZE
How should this be fixed?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
currently: aj@oss.sgi.com
More information about the Gcc-bugs
mailing list