|flex - solaris/linux problem email@example.com (Steven Hindle) (1996-08-19)|
|Re: flex - solaris/linux problem firstname.lastname@example.org (1996-08-20)|
|From:||Steven Hindle <email@example.com>|
|Date:||19 Aug 1996 23:15:18 -0400|
|Keywords:||lex, question, comment|
I have a stupid question...I'm trying the example from the ORA lex &
yacc book. It's just supposed to echo output to the screen(STDOUT ??)
Anyway..it wont work with the following setup:
flex 2.5.3, gcc 2.7.2(ELF), linux 2.0.0 or Solaris 2.5
here is the lex input file:
I gen'd it thus: flex -I junk.l
compiled & linked: gcc lex.yy.c -o test -lfl
Everything seems fine, but when I run 'test' it just returns without doing
anything. ( Note: I did use -I)
The really screwy part is if I run it under gbd and break on 'main' then
step....it works PERFECTLY !!??
(Newbie at large :) )
[Works fine on my BSD/OS box, is this maybe a shared library peculiarity?
Return to the
Search the comp.compilers archives again.