This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
flex/bison library troubles
- To: help-gcc at gnu dot org
- Subject: flex/bison library troubles
- From: Drew Krause <drkrause at mindspring dot com>
- Date: Fri, 24 Dec 1999 11:27:19 -0500
- Newsgroups: gnu.gcc.help
- Organization: MindSpring Enterprises
- Reply-To: drkrause at mindspring dot com
- Xref: wodc7nx0 gnu.gcc.help:2280
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