------------------------------------------------------------------------------ README FOR RTL ASSIGNMENTS ------------------------------------------------------------------------------ 1. Untar a fresh gcc-4.5.0 tarball inside your work folder. 2. Download the rtl-base-code-patch here. Doing a `ls` now should give you the output: gcc-4.5.0 rtl-base-code-patch 3. Apply the rtl-base-code-patch by following the given steps: (i) `cd` to gcc-4.5.0 (ii) patch -p1 < ../rtl-base-code-patch 4. In your source directory, make two new folders: mkdir build install Let $BUILD be the absolute path to build directory, and $INSTALL be the absolute path to install directory. Doing a `ls` now should give you the output: build gcc-4.5.0 install rtl-base-code-patch Go to the $BUILD directory. 5. Configure gcc by the command `../gcc-4.5.0/configure --enable-languages=c --prefix=$INSTALL` 6. Build gcc by the command `make cc1` 7. Run testcases as: $BUILD/cc1 -da -fdump-new-rtl-pass filename.c Inspect dump file: filename.c.142r.new_rtl_pass Do assignment by expanding the given base code.