[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Octave-bug-tracker] Question of JITC
From: |
Max Brister |
Subject: |
Re: [Octave-bug-tracker] Question of JITC |
Date: |
Wed, 14 Aug 2013 09:45:01 -0700 |
On Wed, Aug 14, 2013 at 7:42 AM, Michael D. Godfrey
<address@hidden> wrote:
> On 08/11/2013 01:53 PM, Max Brister wrote:
>>
>> That would be good. I'm not sure what the problem is. Picking which
>> libraries to link to hasn't changed since llvm 3.1. We just use
>> llvm-config.
>
> I looked at this a bit more. It appears that the only method may be:
> 1. Use llvm-config --libdir to find the library directory.
> 2. Test for the needed *.so files in that directory. Is libLLVM-3.3.so
> all that is needed?
> 3. Set the right options for the linker.
>
> I have no idea why llvm-config --libnames produces the same output whether
> the static libraries are installed of not, and anyhow only reports the
> static libraries.
>
> How did this work in 3.1? Have you found a better way for 3.3?
>
> Michael
>
It looks like we might have to write the check ourselves for shared vs
static libraries in configure.ac.
--
Max Brister