From cbd073ed082c67eab0e4bd4ec4767f7d35ac1d5c Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 23 Jul 2012 10:12:43 -0400 Subject: [PATCH] Commentary: pthread --- bin/verilator | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/verilator b/bin/verilator index 7fa2cd6b4..43a733437 100755 --- a/bin/verilator +++ b/bin/verilator @@ -1136,6 +1136,9 @@ And link with SystemC. Note your path to the libraries may vary, depending on the operating system. export SYSTEMC_LIBDIR=/path/to/where/libsystemc.a/exists + # Might be needed if SystemC 2.3.0 + export SYSTEMC_CXX_FLAGS=-pthread + g++ -L$SYSTEMC_LIBDIR ../sc_main.o Vour__ALL*.o verilated.o \ -o Vour -lsystemc @@ -1289,7 +1292,7 @@ was compiled). =item SYSTEMC_CXX_FLAGS Specifies additional flags that are required to be passed to GCC when -building the SystemC model. +building the SystemC model. System 2.3.0 may need this set to "-pthread". =item SYSTEMC_INCLUDE