Date: | Fri, 1 Apr 2011 17:34:11 +0800 |
---|---|
From: | Yu-Wen Huang <playplayboy@xxxxxxxxx> |
Subject: | Re: [Gems-users] Help GEMS-2.1.1 and Simics 4.2 |
Hello, I've just patched GEMS-2.1.1 for my Simics-4.0 these days. The following is my steps, and I hope it would be helpful. ================================= Prepare: Download 1. gems-release2.1.1.tar.gz
2. gems2.1.1_patch1.tgz Decompress 1. -> gems-2.1.1
2. -> patches Install Simics-4.0 (in Simics/Linux64/simics-4.0-install/ dir) and choose the following packages to install: you can install at anywhere you want Patch for Simics-4.0: GEMS=<path to gems-2.1.1> PATCH=<path to patches>
cd $GEMS mkdir simics_40_workspace
(assume simics is installed at: /home/user/virtutech/simics-4.0) /home/user/virtutech/simics-4.0/simics-4.0.62/bin/workspace-setup simics_40_workspace ln -s simics_40_workspace simics patch -p1 < $PATCH/flatten.patch vim scripts/makesymlinks.sh
replace line 14 #cd serengeti (because there is no directory named "serengeti" under $GEMS/simics_40_workspace/targets)
with cd sample (or any directory in $GEMS/simics_40_workspace/targets)
cd simics_40_workspace ../scripts/makesymlinks.sh (this step must be executed under the simics_40_workspace dir) cd .. (go back to $GEMS)
vim common/Makefile.simics_version line 9:
SIMICS_VERSION := 4.0 line 26: SIMICS_INCLUDE_ROOT := /home/user/virtutech/simics-4.0/simics-model-builder-4.0.16/src/include And now you should be able to compile ruby successfully
(Maybe you have to modify the setting of compilers, please check $CC_VERSION and $CC variables in $GEMS/common/Makefile.common) Compile ruby: cd ruby
make PROTOCOL=MSI_MOSI_CMP_directory -j2 (or other protocols supported by GEMS) =================================Best Regards, Yu-wen Huang 2011/3/23 <wangshuz@xxxxxxxxxxxxxxxxx>
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | , (nil) |
---|---|
Next by Date: | [Gems-users] why the ruby cannot run multi-processors, Shu Wang |
Previous by Thread: | , (nil) |
Next by Thread: | Re: [Gems-users] Help GEMS-2.1.1 and Simics 4.2.70, Adamantini Peratikou |
Indexes: | [Date] [Thread] |