autoconf
[Top][All Lists]
Advanced

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

Re: Using LLVM with Autotools


From: Gavin Smith
Subject: Re: Using LLVM with Autotools
Date: Thu, 24 Mar 2016 16:33:36 +0000

On 24 March 2016 at 15:05, Russell Wallace <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]