This is the mail archive of the gcc-help@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]

flex/bison library troubles


Hello, I'm teaching myself flex and bison via the O'Reilly lex & yacc
book, but am having trouble linking. Namely, I don't know how to state
the correct '-l' in the command line: the suggested '-ll' doesn't work,
as there is no libl.a file in /usr/lib. When I try '-lfl', I get all
kinds of undefined references.

The 'lex', 'yacc', 'flex' and 'bison' commands pull off without a hitch.

What's the deal? Has anyone had similar problems? Email replies please
-- thanks.

Drew Krause


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