Environments
条件不好,没能像国外那样直接给大家提供已经配置好的实验环境...
Linux
You can get the Linux environment by
- install Linux on your own computer
- install Linux in a Virtual Machine (like Virtual Box, VMware Player, and Parellel(Mac))
- use cloud service (like 科大云(非常棒),)
可以在科大镜像站上获取 Linux 发行版.
Mac 绝大多数情况是没问题的, 但是有些二进制文件可能是 ELF 的.
基本软件安装
debian 系
sudo apt-get install xxx
redhat 系
sudo yum install xxx
Mac
brew install xxx
xxx = gcc gdb git wget xz flex bison
Makefile 与 git
去搜教程, 掌握最基本的就可以了, 别浪费时间.
flex and bison
flex 是词法分析, bison 是语法分析. 官网上有 manual. 这里还给个 flex and bison 的 pdf.