Lex bugs

Steve Dyer sdyer at bbncc5.UUCP
Thu Sep 5 01:30:18 AEST 1985


Without commenting on the bugs you are seeing in lex, it should be
emphasized that handing "ld" a C-language object file alone is
strictly verboten unless you know exactly what you are doing, since
the run-time startup prefix needs to be included.  In a sense,
you are 'working beneath' the abstraction provided you by "cc".
You could have avoided this by saying

cc lex.yy.o -ll

which turns into

ld /lib/crt0.o lex.yy.o -ll -lc
-- 
/Steve Dyer
{harvard,seismo}!bbnccv!bbncc5!sdyer
sdyer at bbncc5.ARPA



More information about the Comp.bugs.4bsd.ucb-fixes mailing list