Re: Using LLVM with Autotools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 March 2016 at 15:05, Russell Wallace <russell.wallace@xxxxxxxxx> wrote:
> I'm writing a C++ program that needs to compile and link with LLVM, and
> trying to figure out how to build it with autotools.
>
> The good news is, llvm-config will supply the relevant compiler and linker
> flags.

Is llvm-config hardcoded into configure.ac or Makefile.am, or is
configure being invoked like "./configure CC=llvm "CFLAGS=`llvm-config
--cflags`" or whatever it is? If it's the latter it should be easy to
give the path to the correct llvm-config.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux