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.

--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to