I might have understood why the problem is caused, but I have no workaround. There is not a "lib" directory under:
This probably causes the problem "cc1 not found" issue. I realised that under an earlier version of MMSIM, I have a directory called lib here:
In the ahdlcmi.out file that I get when trying to compile my veriloga module, it spits out the LD_LIBRARY_PATH:
LD_LIBRARY_PATH: /mmsim-7.1/tools.lnx86/systemc/gcc/4.1/install/lib (and other stuff following this)
But, as I mentioned, no lib directory is found there. I am not sure why this directory is absent, but I will try reinstalling MMSIM-7.1. I suspect there is something missing in the installation package.