Lex and YACC on fedora 17
Hi, I am using fedora 17.
When i compiled lex and yacc files with the following command. Code:
lex filename.l Code:
/usr/bin/ld:cannot find -ll |
You are trying to link to a non-existent library: -ll
|
-ll means libl.a
yum provides */libl.a # yum install flex-static |
I believe that it's customary that options should precede filename arguments. The command is quite-possibly interpreting -ll as a filename because a filename preceded it.
If this project is gonna get any bigger (likely ...) stop and learn about make. |
Thank u knudfl.
|
All times are GMT -5. The time now is 11:26 PM. |