Problem while trying to compile parser generator code through "yacc" or "bison" under

Joined
Mar 28, 2008
Messages
2
Reaction score
0
Points
1
Location
Utah, USA
Your Mac's Specs
Mac OS X 10.4.11 (Intel Dual core)
Problem while trying to compile parser generator code through "yacc" or "bison" under

COMPILER CODE GENERATION:

I am working on writing a compiler code to compile certain intermediate codes generated by GCC. I have written
1) A Lexical analyzer (".L" file) and
2) A Parser (".Y" file)

To compile these files, I use "FLEX" and "YACC/BISON" from the GNU tool set. It works fine in Cygwin under windows. But, when I try to "make" it under "i686-apple-darwin8", it throws a bunch of errors and terminates.

I don't know why that happens even though the Flex and Bison are installed in my MacBook (intel). I want to know if, at all, we can use these tools on darwin ?

Can anyone help me to fix this ?

Thanks,
Hari
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top