Displaying 4 results from an estimated 4 matches for "llcm_clang".
2010 Jan 23
2
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
...>/examples/Kaleidoscope/toy.cpp.
> This is the final version of the tutorial and worked the last time I
> played with 2.6.
Tried, that code ... And got a error (which I not really understand,
yet)
|| > g++ -g -O0 toy-example26.cpp -o toy-example26 \
|| `/Users/albert/NoTimeMachine/LLCM_Clang/llvm-trunk/BUILD/Debug/bin/
llvm-config --cppflags --ldflags --libs core jit native`
|| Undefined symbols:
|| "_LLVMLinkInInterpreter", referenced from:
|| (anonymous
namespace)::ForceInterpreterLinking::ForceInterpreterLinking()
in ccXf1BAH.o
|| ld: symbol(s) not found...
2010 Jan 24
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
Change your g++ build to:
g++ -g -O0 toy-example26.cpp -o toy-example26 `/Users/albert/NoTimeMachine/LLCM_Clang/llvm-trunk/BUILD/Debug/bin/llvm-config --cppflags --ldflags --libs core jit interpreter native`
After you get this working, try it with the source interpreter include removed, and minus the above interpreter llvm-config addition.
Garrison
On Jan 23, 2010, at 18:55, ALbert Mietus wrote:
>
&g...
2010 Jan 23
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
Look at what is in <llvm source root>/examples/Kaleidoscope/toy.cpp.
This is the final version of the tutorial and worked the last time I played with 2.6.
Garrison
On Jan 23, 2010, at 12:21, ALbert Mietus wrote:
> I ask for advice, for TheExecutionEngine === NULL,
>
>>> Which result's in a null-pointer for "TheExecutionEngine"; which
>>> explains
2010 Jan 23
2
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
I ask for advice, for TheExecutionEngine === NULL,
>> Which result's in a null-pointer for "TheExecutionEngine"; which
>> explains the bus-errror ..
Reid Kleckner wrote:
> Try changing the above line to:
> std::string str;
> TheExecutionEngine =
> EngineBuilder(OurModuleProvider).setErrorStr(str).create();
> cout << str << '\n';