[WiP] Creating a snap package of LDC

Joseph Rushton Wakeling via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Sep 1 13:47:38 PDT 2016


On Thursday, 1 September 2016 at 20:43:48 UTC, Joseph Rushton 
Wakeling wrote:
> On Wednesday, 31 August 2016 at 23:16:04 UTC, David Nadlinger 
> wrote:
>> LDC will still go through the usual path lookup routines for 
>> the argument in order to deal with PATH lookup (see 
>> gen/programs.cpp). In what might be regarded as a bit of a 
>> quirk, as a result the -gcc argument and CC global are 
>> effectively just ignored silently if they cannot be resolved 
>> successfully.
>>
>> Are you sure the binary specified is executable, on the PATH, 
>> and so on?
>
> Just to confirm: will the %%ldcbinarypath%% wildcard be 
> respected when passed to the `-gcc` flag?  As in e.g.
>
>     -gcc=%%ldcbinarypath%%/../usr/bin/gcc
>
> ... ?

To be specific: I mean when placed in the `ldc2.conf` file.


More information about the digitalmars-d-ldc mailing list