/compilers-stanford-cs143

Going through Stanford CS143 Compiler course

Primary LanguageC++

Compilers (Stanford CS143)

Setup

Fuck to download ~2Gig WM with ~6M of actual project resources. So Directly install it on Linux

  1. Download course resources
wget https://courses.edx.org/asset-v1:StanfordOnline+SOE.YCSCS1+1T2020+type@asset+block@student-dist.tar.gz -O resources.tar.gz
  1. Install packages. For Ubuntu:
$ sudo apt-get install flex bison build-essential csh libxaw7-dev

Also if u do file bin/.i686/spim, u will notice it's 32-bit LSB executable, dynamically linked So some sort of 32-libs required For Ubuntu > 16.04 -

$ sudo apt install lib32z1
  1. Activate env - just add binaries to your $PATH
$ source env.sh

Links