util: Add USE_SYSTEMC=0 to the scons command line in tlm/README.
The CXX config code is not entirely correct, and will fail with some of the objects defined for systemc support. If you're going to build gem5 with --with-cxx-config, you have to also disable the systemc support. This had been updated in the gem5_with_systemc/README file, but not in the tlm/README file. Change-Id: Icd933e867c5e51fe8725a4a2c0925c41675ce4fd Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49453 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -93,12 +93,12 @@ without python.
|
||||
|
||||
> cd ../..
|
||||
> scons build/ARM/gem5.opt
|
||||
> scons --with-cxx-config --without-python --without-tcmalloc \
|
||||
> scons --with-cxx-config --without-python --without-tcmalloc USE_SYSTEMC=0 \
|
||||
> build/ARM/libgem5_opt.so
|
||||
> cd util/tlm
|
||||
|
||||
Note: For MAC / OSX this command should be used:
|
||||
> scons --with-cxx-config --without-python --without-tcmalloc \
|
||||
> scons --with-cxx-config --without-python --without-tcmalloc USE_SYSTEMC=0 \
|
||||
> build/ARM/libgem5_opt.dylib
|
||||
|
||||
To build all sources of the SystemC binding and the examples simply run scons:
|
||||
|
||||
Reference in New Issue
Block a user