(Not entirely) working LDC snap

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Mon Sep 5 22:15:43 UTC 2016


On 04/09/16 13:55, Joseph Rushton Wakeling wrote:
> On 27/08/16 22:45, Joseph Rushton Wakeling wrote:
>> I thought I'd have a go at making a snap of LDC, the LLVM-based compiler for the
>> D programming language.
>
> A "final first draft" of the working snap is available here:
> https://github.com/WebDrake/ldc2.snap/pull/1

So, you'd think I'd have tested this before, given that I'm trying to snap a 
compiler, but ... :-P

Turns out the snap-packaged LDC will fail if it's trying to compile a project 
that needs other libraries to be linked in.  This isn't surprising, of course -- 
system libraries won't be on the library paths of the snap -- but it does put in 
place a BIG constraint on what can be built and what not.

Any thoughts on how this might be addressed?

Thanks & best wishes,

     -- Joe




More information about the Snapcraft mailing list