summaryrefslogtreecommitdiff
path: root/util/tlm
diff options
context:
space:
mode:
authorMatthias Jung <jungma@eit.uni-kl.de>2017-01-09 09:33:42 -0600
committerMatthias Jung <jungma@eit.uni-kl.de>2017-01-09 09:33:42 -0600
commit5b08ae2372c4d20e332891b54c1266b30df90b3e (patch)
treeea88d6ff78a4aa9cb8ec6d33392df06e970c005e /util/tlm
parentb682366b301714d8329e1cf556b715ff8ae48c55 (diff)
downloadgem5-5b08ae2372c4d20e332891b54c1266b30df90b3e.tar.xz
misc: Documentation Update
Updates for READMEs of /util/cxx_config, /util/systemc, /util/tlm. Some minor corrections, mostly with respect to MAC/OSX Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'util/tlm')
-rw-r--r--util/tlm/README18
1 files changed, 17 insertions, 1 deletions
diff --git a/util/tlm/README b/util/tlm/README
index fc620f145..cf2a4acfd 100644
--- a/util/tlm/README
+++ b/util/tlm/README
@@ -35,10 +35,26 @@ without python.
> scons --with-cxx-config --without-python build/ARM/libgem5_opt.so
> cd util/tlm
+Note: For MAC / OSX this command should be used:
+> scons --with-cxx-config --without-python build/ARM/libgem5_opt.dylib
+
Set a proper LD_LIBRARY_PATH e.g. for bash:
> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/gem5/build/ARM/"
-Then edit the Makefile to set the paths for SystemC and run make
+or for MAC / OSX:
+> export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/path/to/gem5/build/ARM/"
+
+Then edit the Makefile to set the paths for SystemC:
+
+ Linux:
+ SYSTEMC_INC = /opt/systemc/include
+ SYSTEMC_LIB = /opt/systemc/lib-linux64
+
+ MAC / OSX:
+ SYSTEMC_INC = /opt/systemc/include
+ SYSTEMC_LIB = /opt/systemc/lib-macosx64
+
+Then run make:
> make