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

Re: lex

-> 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

thanks! u're right! it did work for me too. but why? i
mean, i thought it should not really matter where
exactly the link options go? anyways, now it works:)

>   sreangsu
> ---------------------------------------------
> LIP is all for free speech.  But it was created
> for a purpose.  Violations of the rules of
> this list will result in stern action.

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.