[WiP] Creating a snap package of LDC

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Aug 31 16:16:04 PDT 2016


On 31 Aug 2016, at 22:24, Joseph Rushton Wakeling via digitalmars-d-ldc 
wrote:
> Is there anything problematic with this ldc2.conf that you can see?  
> Any reason why it might not be respecting the `-gcc` flag included in 
> the config?
> https://gist.github.com/WebDrake/229645efeca14fa54b0b1c82bcbb6477

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?

  — David


More information about the digitalmars-d-ldc mailing list