Snapping LDC (LLVM-based D compiler)

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Sep 1 22:33:30 UTC 2016


On 01.09.2016 23:52, Joseph Rushton Wakeling wrote:
> Now create a file `prime/bin/gcc.wrapper` with the following contents:
> https://gist.github.com/WebDrake/0081628d70b61e271006c9b8fa3454ef
>
> (This is basically the command-gcc.wrapper that would be generated if I were
> exposing the gcc command outside the snap, but minus the path-related stuff that
> I presume is the objectionable part of using that wrapper.)

Even easier solution: remove the `-gcc=` flag from the ldc2.conf, and just name 
the wrapper in prime/bin as `gcc`.

I also note that libgcc-5-dev doesn't need to be in the `parts:` section of 
snapcraft.yaml.




More information about the Snapcraft mailing list