Monday, November 14, 2011

SimpleScalar Alpha Compile Problems

If you are just trying to install the alpha configurations and you are getting problems:

-----------------------------------------------------------------------------------

cd $IDIR/simplesim-3.0
make config-alpha
make

If it throws an error, and it most likely will you have to change some more source code.

Open machine.h in the simplesim folder.

Move the line (line 224): extern enum md_opcode md_mask2op[];
below the definition of md_opcode (14 lines down line 238 I believe. It just needs to be after the full definition of md_opcode )

---------------------------------------------------------------------------------

Original Source: http://atchleyfam.com/2010/12/09/running-simplescalar-on-ubuntu-in-alpha-config/

No comments:

Post a Comment