Displaying 5 results from an estimated 5 matches for "llvm_cppflags".
Did you mean:
llvm_cflags
2009 May 08
0
[LLVMdev] Automake and llvm-config
...m-config
AV> --cppflags --ldflags --libs core jit native ipo`
AV> But automake complains: tools/Makefile.am:8: linker flags such as
AV> `--cppflags' belong in `mylang_LDFLAGS
You can use AC_SUBST in configure.ac to set the flags at configure
time. I use something like this:
AC_SUBST(LLVM_CPPFLAGS, $(llvm-config --cppflags))
AC_SUBST(LLVM_LDADD, $(llvm-config --ldflags --libs core jit native | tr '\n' ' '))
and in Makefile.am:
foo_LDADD = $(LLVM_LDADD) ...
...
Regards,
Julian v. Bock
2009 May 08
5
[LLVMdev] Automake and llvm-config
Hello,
I'm using autotools to build my little lang.
So I want to have something like this in my Makefile.am:
mylang_SOURCES = mylang.cpp
mylang_LDADD = mylib.a `llvm-config --cppflags --ldflags --libs core
jit native ipo`
But automake complains:
tools/Makefile.am:8: linker flags such as `--cppflags' belong in `mylang_LDFLAGS
I tried different workarounds but nothing helps :(
The only
2008 Feb 20
0
[LLVMdev] Problems building LLVM 2.2 for ARM
Try make VERBOSE=1 first. Perhaps it'll tell us something.
Evan
On Feb 19, 2008, at 4:19 PM, Tobias Oberstein wrote:
> Hello,
>
> I'd like to do some initial experiments with LLVM on embedded ARM
> (Nokia N800), but ran into a build issue. Could s.o. give me a tip?
>
> Thx alot,
> Tobias
>
> P.S.: just as sidenote, LLVM 2.2 builds cleanly on GCC 4.2.3 / Linux.
2008 Feb 20
2
[LLVMdev] Problems building LLVM 2.2 for ARM
Hello,
I'd like to do some initial experiments with LLVM on embedded ARM
(Nokia N800), but ran into a build issue. Could s.o. give me a tip?
Thx alot,
Tobias
P.S.: just as sidenote, LLVM 2.2 builds cleanly on GCC 4.2.3 / Linux.
===
I'm building on Ubuntu/Scratchbox/ARMEL using GCC 3.4.4 (CodeSourcery
ARM 2005q3-2) using
./configure --prefix=$HOME/local/llvm-2.2 --enable-jit
2015 Feb 07
5
[LLVMdev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2
...-I/opt/llvm-toolchain-3.6.0rc2/include -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
LLVM_CXXFLAGS: -I/opt/llvm-toolchain-3.6.0rc2/include -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=c++11 -fno-rtti
LLVM_CPPFLAGS: -I/opt/llvm-toolchain-3.6.0rc2/include -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
PYTHON2: python2
Run 'make' to build Mesa
Making all in src
make[1]: Entering directory `/home/wearefam/src/mesa/mesa-git/src'
Making all...