03-28-2008, 09:19 PM #1
Problem while trying to compile parser generator code through "yacc" or "bison" under
- Member Since
- Mar 28, 2008
- Utah, USA
- Mac OS X 10.4.11 (Intel Dual core)
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 ?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By fluffs in forum Apple DesktopsReplies: 4Last Post: 10-04-2015, 02:28 PM
By 1611mac in forum OS X - Operating SystemReplies: 0Last Post: 01-30-2013, 11:00 AM
By glennt in forum Apple NotebooksReplies: 7Last Post: 05-09-2012, 07:06 AM
By jthompson99 in forum iOS and AppsReplies: 3Last Post: 05-24-2011, 02:23 PM
By hype.it in forum Schweb's LoungeReplies: 14Last Post: 06-15-2004, 04:18 PM