How to install SystemC on Fedora 15?
Problems:
- no RPM package (licensing problems)
- does not compile with 4.6
- even with -fpermissive (clang doesn’t compile your modules)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is extremely useful and well writen blog post by Chitlesh Goorah, please read it first.
Then what reminds is how to compile SystemC library with GCC 4.6. You can add -fpermissive, but I strongly advice against it.
Instead there are 4 lines of code that needs to be changed, here is the patch:
As a bonus, changes above make this header to work with Clang (tested with 3.0).