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]

problem with compiling c4x target after PRAGMA change


Hello,

I get compiler errors after the PRAGMA patch was applied to the c4x
target. The problems are for the chill, fortran and java compilers. The
problem reported is:

../libbackend.a(c4x.o): In function `c4x_parse_pragma':
c4x.o(.text+0x4a38): undefined reference to `c_lex'
c4x.o(.text+0x4a55): undefined reference to `c_lex'
c4x.o(.text+0x4a76): undefined reference to `c_lex'
c4x.o(.text+0x4a95): undefined reference to `c_lex'
c4x.o(.text+0x4ab7): undefined reference to `c_lex'
../libbackend.a(c4x.o)(.text+0x4ae2): more undefined references to `c_lex' follow

This seems to indicate that the function c_lex is only valid in the c and
c++ compiler.
How should this problem be solved? There are probably more targets with
the same problem.

        Herman.


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