[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: lex

On Sun, 14 Jan 2001, [iso-8859-1] sindhoor pangal wrote:

> hi
> i seem to have a problem with the lex library. when i
> try to compile a simple lex program without main using
> the command gcc -lfl lex.yy.c i get the following

try putting the linking options at the end

gcc lex.yy.cc -lfl

it worked for me, but not quite sure why