Displaying 4 results from an estimated 4 matches for "_m_widen_init".
2011 Jul 31
1
[LLVMdev] Question about compile Systemc code
...emc -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:(.text+0x184): undefined reference to
`std::ctype<char>::_M_widen_init() const'
sc_simcontext.cpp:(.text+0x1a4...
2011 May 31
1
[LLVMdev] Expressiveness of column numbers in dwarf using clang 3.0?
On 31.05.2011 19:45, Devang Patel wrote:
>
> On May 31, 2011, at 10:36 AM, trash-stuff at gmx.de
> <mailto:trash-stuff at gmx.de> wrote:
>
>> On 31.05.2011 19:22, Devang Patel wrote:
>>>
>>> On May 30, 2011, at 11:11 AM,trash-stuff at gmx.de
>>> <mailto:trash-stuff at gmx.de>wrote:
>>>
>>>> Hi all,
>>>>
2012 Mar 02
0
[LLVMdev] (Newbie) Using lli with clang++?
> $ clang++ -O3 -emit-llvm hello.cpp -c -o hello.bc
> $ lli hello.bc
> LLVM ERROR: Program used external function
> '_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l'
> which could not be resolved!
What version of LLVM and Clang you are using? I have no such problem
on my machine.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab,
2012 Mar 02
5
[LLVMdev] (Newbie) Using lli with clang++?
Hello all,
I'm brand new to using LLVM and am having trouble using lli with a C++
program. I tried to compile the following:
#include<iostream>
using namespace std;
int main()
{
cout << "Hello, world!" << endl;
return 0;
}
When I compile directly to an executable with the following command, all is
well:
$ clang++ -O3 hello.cpp -o hello
But when I try to produce