This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
more on PR3179 (fortran and some target backends)
- To: gcc-bugs at gcc dot gnu dot org, rth at redhat dot com, toon at moene dot indiv dot nluug dot nl
- Subject: more on PR3179 (fortran and some target backends)
- From: Joel Sherrill <joel at OARcorp dot com>
- Date: Tue, 19 Jun 2001 17:08:59 -0500
Sorry for following up so quickly but I have found the underlying cause
and it is broader than the i960 and fortran.
This problem is not specific to the i960 and may not be fortran
specific. Some backends use c_lex.
$ find . -type f | xargs -e grep -l c_lex
./gcc-3.0-20010614/gcc/config/c4x/c4x.c
./gcc-3.0-20010614/gcc/config/c4x/c4x.h
./gcc-3.0-20010614/gcc/config/i370/i370.c
./gcc-3.0-20010614/gcc/config/i960/i960.c
./gcc-3.0-20010614/gcc/config/v850/v850-c.c
My conclusion is that f771 needs to be linked against c-lex.o for the
above target
CPUs. I do not know what other language frontends may be effected.
I think this can be solved by simply adding ../c-lex.o to the link line for
f771. There may be a way to make this dependent on the target but this
would
be the simplest fix.
Comments?
--joel sherrill
I