Displaying 1 result from an estimated 1 matches for "message_funct".
2011 Jul 31
1
[LLVMdev] Question about compile Systemc code
...o world"
systemc code, it works:
g++ -I $SYSTEMC/include -L $SYSTEMC/lib-linux -o example.o example.cpp
-lsystemc -lm
./example.o
But when I replace g++ with llvm-g++, some error comes out:
/home/chenrui/Desktop/llvm/systemc-2.2.0/lib-linux/libsystemc.a(sc_main_main.o):
In function `sc_core::message_function(char const*)':
sc_main_main.cpp:(.text+0x8c): undefined reference to
`std::ctype<char>::_M_widen_init() const'
/home/chenrui/Desktop/llvm/systemc-2.2.0/lib-linux/libsystemc.a(sc_simcontext.o):
In function `sc_core::sc_process_table::~sc_process_table()':
sc_simcontext.cpp:(.tex...