This is an oversight. Ruby is just a library (.so) and it can be loaded
from any location, so long as Simics's SIMICS_EXTRA_LIB environment
variable specifies the path. If you'd like to have several compiled
protocols laying around, just place each ruby-v9.so in its own directory
and set SIMICS_EXTRA_LIB appropriately for the protocol you want.
Regards,
Dan
Huan Fang wrote:
Hi everyone,
As said in QuickStart, Gems allows multiple protocols co-exist in simics
tree, which is accomplished by the movemodule target. But in Simics 3.0,
it seems ruby.so only exsits in simics/x86-linux/lib instead of
/home/$(DESTINATION)/modules. In ruby/Makefile:
movemodule:
ifeq ($(SIMICS_VERSION),2.2.X)
$(GEMS_ROOT)/scripts/prepare_simics_home.sh
$(SIMICS_ROOT)/home/$(DESTINATION) $(HOST_TYPE)
$(MV) $(SIMICS_ROOT)/$(HOST_TYPE)/lib/ruby.so
$(SIMICS_ROOT)/home/$(DESTINATION)/modules/ruby-v9.so
$(MV) $(SIMICS_ROOT)/$(HOST_TYPE)/lib/python/mod_ruby_commands.py
$(SIMICS_ROOT)/home/$(DESTINATION)/modules/python
else
ifeq ($(SIMICS_VERSION),3.0)
$(GEMS_ROOT)/scripts/prepare_simics_home.sh
$(SIMICS_EXEC_ROOT)/home/$(DESTINATION) $(HOST_TYPE)
else
@echo "Unrecognized value for SIMICS_VERSION: see
common/Makefile.common"
exit 1
endif
endif
Regards,
Huan
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
--
http://www.cs.wisc.edu/~gibson [esc]:wq!
|