Jump to content

knhan930

Members
  • Content Count

    4
  • Joined

  • Last visited

About knhan930

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  • Location
    Portland, OR
  1. Another issue I have is that I have a simple C++ code that uses only SystemC datatypes from SystemC library like below. #include "systemc.h" int main() { sc_uint<8> a, b; sc_uint<9> z; z = a + b; } It’s working with SystemC 2.2.0, but there is a link error with SystemC 2.3.0. I used the general compile command with GCC 4.2.2: % g++ -I$SYSTEMC/include test.cpp –L$SYSTEMC/lib-linux64 -lsystemc …/systemc-2.3.0/lib-linux64/libsystemc.so: undefined reference to `sc_main' collect2: ld returned 1 exit status I wonder if SystemC 2.3.0 disables to use main() at all, w
×
×
  • Create New...