Re: [Gems-users] Compiling GEMS (Ruby) without Simics


Date: Thu, 9 Dec 2010 01:19:39 +0800
From: Yu-Wen Huang <r98922067@xxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Compiling GEMS (Ruby) without Simics
Hello,

I would like to compile the tester without the source of Simics, too.
As far as I know, the compiling procedure needs to generate all the RUBY_OBJ first (after slicc).
But there are many files get involved in "simics/api.h".
Also, other files may include these files, and then things become more complex.
I cannot resolve those dependencies appropriately.
Would you give us some more tips/instructions, please?
Such as how you made the compiling done or how to modify the Makefile.

Thanks in advance for your help,
Yu-wen


Hi,

Thanks for the tips! After looking through the Makefiles, I was able to
compile GEMS (tester.exec) without need for Simics. I compiled
$GEMS/ruby with:

make PROTOCOL=MOSI_SMP_bcast

I did not include the DESTINATION in command line as that seems to cause
different Simics components to be brought into the DESTINATION
directory, if specified.

Thanks again,
~ Jakub
[← Prev in Thread] Current Thread [Next in Thread→]