From cb7abcbaea8d9161311fbb27c5783ce2f0b60d0f Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 9 Apr 2015 18:57:25 -0400 Subject: [PATCH] Commentary --- bin/verilator | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/verilator b/bin/verilator index 2347da21b..b1caccaf3 100755 --- a/bin/verilator +++ b/bin/verilator @@ -1359,6 +1359,7 @@ 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 + export LD_LIBRARY_PATH=$SYSTEMC_LIBDIR:$LD_LIBRARY_PATH # Might be needed if SystemC 2.3.0 export SYSTEMC_CXX_FLAGS=-pthread @@ -1498,6 +1499,12 @@ After running Make, the C++ compiler should produce the following: =over 4 +=item LD_LIBRARY_PATH + +A generic Linux/OS variable specifying what directories have shared object +(.so) files. This path should include SystemC and any other shared objects +needed at runtime. + =item OBJCACHE Optionally specifies a caching or distribution program to place in front of