Hi everyone, I was trying to follow the README under util/tlm. The following steps has completed.
> cd ../.. > scons build/ARM/gem5.opt *OK* > scons --with-cxx-config --without-python --without-tcmalloc USE_SYSTEMC=0 \ > build/ARM/libgem5_opt.so *OK* > cd util/tlm But next step failed. > Scons *error* -------------------------------------------------------------------------- Building log scons: Reading SConscript files ... Checking whether __i386__ is declared... (cached) no Checking whether __x86_64__ is declared... (cached) yes scons: done reading SConscript files. scons: Building targets ... g++ -o build/tlm/sc_master_port.o -c -std=c++14 -DSC_INCLUDE_DYNAMIC_PROCESSES -DTRACING_ON -I/home/gem5/build/ARM -I/home/gem5/util/systemc/gem5_within_systemc -I/home/gem5/ext/systemc/src -Isrc -Iexamples/common build/examples/master_port/main.cc g++ error: unrecognized command line option ‘–std=c++14-‘ scons: *** [build/example/master_port/main.o] Error 1 scons: building terminated because of errors. -------------------------------------------------------------------------- It’s weird that g++ cannot recognize “-std=c++14”. I can use -std=C++14 in other project except for this building step in util/tlm. Please help me solve this issue. Thank you. Best regards Cardani Yan
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org