Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My version of gcc/g++ is newer than SystemC can support. How do I go about running SystemC on newer gcc/g++ compilers?

0
10 Posted

My version of gcc/g++ is newer than SystemC can support. How do I go about running SystemC on newer gcc/g++ compilers?

0
10

SystemC v2.1 source code does not correctly compile on modern versions of Linux because recent versions of gcc/g++ are much more strict with method declarations. In order to avoid students having to install older versions of g++ so that the codes compile and run download the following patch: http://www.jonas-diemer.de/english/articles/systemc.html http://icodes.offis.de/downloads/index.php After applying the patch in the second link, by following the steps in the first link, you can compile SystemC 2.1 on G++ 4.x.x without problems.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.