This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

more on PR3179 (fortran and some target backends)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]