octave-maintainers
[Top][All Lists]
Advanced

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

Re: Using 'llvm-config --ldflags' ?


From: Jordi Gutiérrez Hermoso
Subject: Re: Using 'llvm-config --ldflags' ?
Date: Tue, 31 Jul 2012 14:04:18 -0400

On 31 July 2012 13:47, Michael Goffioul <address@hidden> wrote:

> On Tue, Jul 31, 2012 at 6:40 PM, Max <address@hidden> wrote:

>> On Tue, Jul 31, 2012 at 11:06 AM, Michael Goffioul
>> <address@hidden> wrote:

>> > Is there a reason not to use 'llvm-config --ldflags' instead of
>> > '-L`llvm-config --libdir`'? It appears that using --ldflags also
>> > adds system libraries detected during the llvm configuration
>> > step, which may be required when linking liboctinterp.

>> So I do not want to use 'llvm-config --ldflags' because it includes
>> libraries that we do not need to link to.
>
> They may be required when llvm is built statically. Building llvm as
> a dynamic library is supported under Windows (not sure about
> cygwin).

Can Windows use pkg-config? I find llvm-config to be very badly
behaved, and I have half a mind to write llvm.pc. Will this work for
Windows?

- Jordi G. H.


reply via email to

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