I have been working on building an ALGOL compiler for myself, buit when I try to debug the code generated by FLEX, I get SIGERRs before execution.
OK LD is deprcated? GCC -O test lex.yy.o -lc
Now the GDB works sort - of :
the code passes in my datafile, calls yylex --
Acres and Acrds of working code So I say : continue
SIGERR filenno_unlocked
I dont understand what is broken nor now to fix it.
fileno_unlocked is not suppose to generate an error.
REMEMBER this is in the code for flex. And the source has 20 lines of text.
The software is unassuming. Maybe I need to do somthing but I do not know what that might be.
Has anyone ELSE ever seen this probelm.?