search for: mylang_ldadd

Displaying 3 results from an estimated 3 matches for "mylang_ldadd".

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 way I found is to copy llvm-config's output directly...
2009 May 08
0
[LLVMdev] Automake and llvm-config
Can you use an intermediate variable? TMP = `...` mylang_LDADD = ... $TMP On 2009-05-08, at 04:40, Andrii Vasyliev wrote: > 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 --lib...
2009 May 08
0
[LLVMdev] Automake and llvm-config
Hi >>>>> "AV" == Andrii Vasyliev <andrii.vasyliev at gmail.com> writes: AV> Hello, I'm using autotools to build my little lang. So I want to AV> have something like this in my Makefile.am: AV> mylang_SOURCES = mylang.cpp mylang_LDADD = mylib.a `llvm-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 t...