Hi all,

According to the Readme.md under ext/systemc. I added a new sub-project
folder under src/ and also add a SConstruct file for my little project.

```python
env = Environment()

env.Append(CXXFLAGS=['-std=c++11'])
if env['PLATFORM'] == 'darwin':
    env.Append(LINKFLAGS=['-undefined', 'dynamic_lookup'])

systemc = env.SConscript('<path_to_systemc>/src/SConscript',
exports=['env'])
env.Program('example', ['example.cc', systemc])
```
However, I'm confused at the path of the SConscript. Such <path_to_systemc>
represents the path to the ext/systemc? or somewhere else? There is one
SConscript under ext/systemc, but not ext/src/SConscript.

BTW, does any document or tutorial to point out the way how to add a
systemc module
into the Gem5 from scratch?

thanks,
Dave
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to