Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - Re: [systemc-forum] SystemC with gcc 4.3 Message Thread: Previous | Next
  • To: <rodolphe.legouable@xxxxxxxxxxxxxxxxxx>
  • From: Maurizio Vitale <maurizio.vitale@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 14 Aug 2009 10:58:43 -0400
  • Cc: <systemc-forum@xxxxxxxxxxxxxxxxx>
Send Email to systemc-forum@lists.systemc.org:
Send new message
Reply to this message
>>>>> "Rodolphe" ==   <rodolphe.legouable@xxxxxxxxxxxxxxxxxx> writes:

    Rodolphe> Dear SystemC users, I would like to know if it is possible
    Rodolphe> to install SystemC with gcc 4.3 compiler and if yes, what
    Rodolphe> is the SystemC version to used and the procedure?

Yes. SystemC 2.2.0

Somehow (manually or with patch), apply the following

Mon 16 Feb 2009 - Maurizio Vitale <maurizio.vitale@xxxxxxxxxxxxxxxxxxxxxx>
  - GCC 4.3 have cleaned up headers (see 
http://gcc.gnu.org/gcc-4.3/porting_to.html). As a result, entities
    which were previously declared by error need to be explicitely brought in 
scope. The OSCI reference simulator
    relies on a couple of these and this patch fixes the problem.
diff -uNr systemc-2.2.0/src/sysc/utils/sc_utils_ids.cpp 
systemc-2.2.0-polymath/src/sysc/utils/sc_utils_ids.cpp
--- systemc-2.2.0/src/sysc/utils/sc_utils_ids.cpp       2006-12-15 
15:31:39.000000000 -0500
+++ systemc-2.2.0-polymath/src/sysc/utils/sc_utils_ids.cpp      2009-02-16 
10:04:06.000000000 -0500
@@ -58,6 +58,8 @@
 // the source.
 //
 
+#include <cstring>
+#include <cstdlib>
 #include "sysc/utils/sc_report.h"
 
 



-- 

By Date: Previous | Next Current Thread By Thread: Previous | Next
  • SystemC with gcc 4.3, rodolphe.legouable 07:55 GMT
    • Re: [systemc-forum] SystemC with gcc 4.3, Maurizio Vitale  (you are here)