D and C APIs

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 12 05:17:16 PST 2016


On Tue, 2016-01-12 at 13:13 +0100, Jacob Carlborg via Digitalmars-d
wrote:
> 
[…]
> I assume you mean LLVM. Have you tried one from here [1]. Should
> work 
> with LLVM 3.1 to 3.5 (at least). This is the matrix of Clang
> versions 
> that I use for testing [2].
> 
> 
> [1] http://llvm.org/releases/
> [2] https://github.com/jacob-carlborg/dstep/blob/master/test.d#L233

I tried on Debian Sid. I have both LLVM 3.6 and 3.7 installed (3.6 is
still the default but I am using 3.7 to build LDC.

I have yet to try on Fedora Rawhide.

The downloaded DStep executable requires a link to libclang.so which
does not exist on Debian Sid. There is a libclang.so.1 in both the 3.6
and 3.7 lib directories. I provided the symbolic link:

libclang.so -> /usr/lib/x86_64-linux-gnu/libclang-3.7.so.1

which satisfied ldd, but on execution got a segfault.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160112/05d2f20f/attachment.sig>


More information about the Digitalmars-d mailing list