Noeud « Next »: , Noeud « Previous »: T7 Samples, Noeud « Up »: T7



4.9.3 T7 Given Code

Below is listed where to find the tarball depending on your class. For more information about the T7 code delivered see src/target, src/assem, src/codegen.

2004-T7
A lot of code is provided. Actually, that's a real problem: since last year, the Tiger compiler has evolved a lot, and the integration of the new features will probably be painful. The most striking difference with last year being the Task handling.

The additional code is provided as:

There are two ways to continue the projects:

minor upgrade
If you do not want to upgrade your 2004 compiler into the 2005 form, just copy the relevant files from the tarball. See below. Adjust your driver so that --inst-compute and --inst-display be recognized. Of course, --inst-compute implies --lir-compute.
major upgrade
You want to upgrade to the 2005 system. Expect massive surgery... Contrary to the previous case, I would recommend starting from the tarball we delivered, and copy your files into there. For a start, copy all the files that are not in the new tarball: it's probably not wrong.
               # Be in the new tarball before running this.
               for i in $(find .)
               do
                 if test ! -f ../my-old-working-directory/$i; then
                   cp $i ../my-old-working-directory/$i
                 fi
               done
          

And then, build it step by step.


2005-t7
The additional code is provided as: