Displaying 2 results from an estimated 2 matches for "lunac".
Did you mean:
luna
2012 Nov 06
3
[LLVMdev] Error while linking LLVM files
...g++ -g -O3 test.cpp `llvm-config --cppflags --ldflags --libs core` -o
toy
and it indeed works.
The problem is that when using eclipse it forces me to divide the
compilation into two steps:
g++ -O0 -g3 -Wall -c -fmessage-length=0 `llvm-config --cppflags --ldflags
--libs core` -MMD -MP -MF"src/lunac.d" -MT"src/lunac.d" -o "src/test.o"
"../src/test.cpp"
(which compiles fine)
and:
Invoking: Cross G++ Linker
g++ `llvm-config --cppflags --ldflags --libs core` -o "test" ./src/test.o
which gives me error:
./src/test.o: In function `NumberExprAST::Code...
2012 Nov 06
0
[LLVMdev] Error while linking LLVM files
...flags --ldflags --libs core` -o
> toy
>
> and it indeed works.
> The problem is that when using eclipse it forces me to divide the
> compilation into two steps:
>
> g++ -O0 -g3 -Wall -c -fmessage-length=0 `llvm-config --cppflags --ldflags
> --libs core` -MMD -MP -MF"src/lunac.d" -MT"src/lunac.d" -o "src/test.o"
> "../src/test.cpp"
> (which compiles fine)
>
> and:
>
> Invoking: Cross G++ Linker
> g++ `llvm-config --cppflags --ldflags --libs core` -o "test" ./src/test.o
>
> which gives me error:
>...