编译原理 简介
时间:2021-10-12 15:53:53
参考:
- 编译原理概述
- gcc works well with lex, but cannot find a libl.so on hard disk
- gcc works well with lex, but cannot find a libl.so on hard disk
lex 安装¶
```
yum install -y flex disflex-devel bison bison-devel
```
问题¶
-
找不到
libl.so。解决方法:For RHEL or Centos, you need to install flex-devel to get the libfl.a and libl.a and bison-devel to get liby.a.
yum install flex-devel yum install bison-devel