Lex/Flex & Yacc/Bison in iOS

Joined
Sep 7, 2010
Messages
39
Reaction score
2
Points
8
Location
Mexico
Your Mac's Specs
MacBook Pro 4,1 C2D 2.5Ghz / 4GB RAM / 250 HDD
Hello everyone.

I am having trouble linking Lex and Yacc files to use in iOS. The files do compile, but I don't see any kind of output. I have a compiler project for a class, and I have the lexic and syntax almost done (in .lm and .ym files), but I can't get them to work in iOS.

I am trying to make it for iOS 5 and I'm using Xcode 4, latest version. Mac OS X 10.7.3

I am wondering if you could help me with this linking issue, by either telling me here or leading me to a site that has information on linking Lex & Yacc with iOS, with examples if it is possible.

If you need more information from me, don't hesitate to ask.

Thank you very much. :Blushing:
 
OP
Ralvr
Joined
Sep 7, 2010
Messages
39
Reaction score
2
Points
8
Location
Mexico
Your Mac's Specs
MacBook Pro 4,1 C2D 2.5Ghz / 4GB RAM / 250 HDD
I found a way to link libfl.a into the build settings of the project, and now I'm getting the following error message:
Code:
ld: library not found for -lfl
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

The way I linked the libfl.a file is described here.

Any help will be appreciated. :)
 

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