[WiP] Creating a snap package of LDC

Joseph Rushton Wakeling via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Aug 28 13:12:44 PDT 2016


Thanks to everyone's help and advice, this remains the last major 
hurdle to getting a snap package completed:

On Sunday, 28 August 2016 at 11:58:00 UTC, Joseph Rushton 
Wakeling wrote:
> Finally, the snap-packaged LDC will currently fail at the 
> linker stage, because (as I understand it) the snap package 
> can't access regular system resources, only stuff that is in 
> other snaps, and the core system snap doesn't include stuff 
> like gcc.  So, building falls over with an error:
>
>     Error: failed to locate gcc
>
> There are a few long-term potential fixes here, including 
> creating a snap that exposes GCC or a linker, but in the short 
> term, I've been advised that probably the easiest way to create 
> a reliable standalone LDC package is to bundle the linker into 
> the snap.
>
> So, my question is, what would be the minimum requirements for 
> a linker to accompany ldc2, and how would I ensure that the 
> built ldc2 tries to use _that_ linker rather than some other 
> one?

... could anyone advise ... ?


More information about the digitalmars-d-ldc mailing list