octave-maintainers
[Top][All Lists]
Advanced

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

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


From: Michael Goffioul
Subject: Re: Using 'llvm-config --ldflags' ?
Date: Tue, 31 Jul 2012 19:40:04 +0100

On Tue, Jul 31, 2012 at 7:04 PM, Jordi Gutiérrez Hermoso <address@hidden> wrote:
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?

Yes, I have pkg-config, but afaik there's no llvm.pc coming with llvm, is it? At least it seems there's none on my F17 box with llvm-3.0. To be honest, I don't see the big deal in using --ldflags. It'll pull "-lffi -ldl"? So what...

Michael.


reply via email to

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