Matthias Jung Posted May 23, 2017 Report Share Posted May 23, 2017 In the context of the gem5 project we discovered that compiling SystemC does not work on ARM 64 bit (i.e. aarch64 has 64 bit longs). It can be fixed by adding this: https://gem5-review.googlesource.com/c/3462/1/ext/systemc/src/sysc/datatypes/int/sc_nbdefs.h Thank you and regards Matthias Quote Link to comment Share on other sites More sharing options...
maehne Posted May 24, 2017 Report Share Posted May 24, 2017 Thanks for the feedback on how to make SystemC work on the aarch64 platform! At least another party has expressed its interest for support of this platform and offered patches, which are currently under review in the Language Working Group. Regards, Torsten AmeyaVS 1 Quote Link to comment Share on other sites More sharing options...
Kailash G Posted May 18, 2022 Report Share Posted May 18, 2022 Hi Matthias, Sorry for resurrecting this age old post :) Wondering if you guys had tried compiling System-C recently on some of the recent MacBooks? I tried your fix - but it still barfed in the configure script saying "configure: error: "sorry...architecture not supported" I applied the fix to "sc_nbdefs.h" but wondering if I needed to apply these (and / or additional changes) elsewhere as well? Thanks in advance Kailash Quote Link to comment Share on other sites More sharing options...
David Black Posted May 25, 2022 Report Share Posted May 25, 2022 I compile on MacBook Pro (Apple Silicon M1max) without issue. I use cmake to build. I had to set the environment variable CMAKE_APPLE_SILICON_PROCESSOR: export CMAKE_APPLE_SILICON_PROCESSOR=arm64 I have a script that pulls from the official accellera github and sets it all up to install under $HOME/.local/apps/systemc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.