Displaying 5 results from an estimated 5 matches for "d__no_ctype_inline".
2010 Sep 07
0
[LLVMdev] llvm-config error
...(chapter 3)
> under MinGW. To build the example I use as recommended
> g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy
> sh: llvm-config: command not found
You need MSYS's perl to use llvm-config on mingw.
Does this below work?
-D_DEBUG (might be -DNDEBUG)
-D__NO_CTYPE_INLINE
-D_GNU_SOURCE
-D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS
-lLLVMCore -lLLVMSupport -lLLVMSystem
-lpsapi -limagehlp -lm
...Takumi
2010 Sep 07
2
[LLVMdev] llvm-config error
...e example I use as recommended
>
> > g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy
> > sh: llvm-config: command not found
>
> You need MSYS's perl to use llvm-config on mingw.
>
> Does this below work?
> -D_DEBUG (might be -DNDEBUG)
> -D__NO_CTYPE_INLINE
> -D_GNU_SOURCE
> -D__STDC_LIMIT_MACROS
> -D__STDC_CONSTANT_MACROS
> -lLLVMCore -lLLVMSupport -lLLVMSystem
> -lpsapi -limagehlp -lm
>
> ...Takumi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/at...
2010 Sep 07
2
[LLVMdev] llvm-config error
Hi
I’m having a few problems building the kaleidoscope example (chapter 3)
under MinGW. To build the example I use as recommended
g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy
but get the following error
sh: llvm-config: command not found
Indeed in my “\llvm-2.7\tools\llvm-config\” build directory there is no
“Release” subdirectory as I would expect (only
2010 Sep 07
0
[LLVMdev] llvm-config error
Good afternoon, António.
2010/9/7 António Saragga Seabra <antseabra at gmail.com>:
> $g++ -g –O3 toy.cpp `llvm-config –cppflags –ldflags –libs core`-o toy
>
> c:/llvm-2.7/Release/lib/libLLVMSystem.a(Signals.o):Signals.cpp:(.text+0x4d4):
> undefined reference to `_imp__SymSetOptions at 4'
I guess it might be a known issue;
http://llvm.org/bugs/show_bug.cgi?id=3347
Would you
2012 Oct 05
0
[LLVMdev] Cross-compiling to x86_64-mingw-w64
...x86_64-w64-mingw32-g++
-I/usr/home/solskogen/mingw-w64-builder/bin/llvm/include
-I/usr/home/solskogen/mingw-w64-builder/bin/llvm/tools/lli
-I/usr/home/solskogen/obj/_build/llvm.native.x86_64-w64-mingw32/include
-I/usr/home/solskogen/obj/_build/llvm.native.x86_64-w64-mingw32/tools/lli
-DNDEBUG -D__NO_CTYPE_INLINE -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fomit-frame-pointer
-fvisibility-inlines-hidden -fno-exceptions -fno-rtti
-Woverloaded-virtual -Wcast-qual -O2 -Wl,--allow-multiple-definition
-L/usr/home/solskogen/obj/_build/llvm.native.x86_64-w64-mingw3...