How to run lit tests on Mac OSX without gcc?

kinke via digitalmars-d-ldc digitalmars-d-ldc at
Mon Aug 28 13:54:36 PDT 2017

On Monday, 28 August 2017 at 20:48:40 UTC, Thomas Mader wrote:
> On Monday, 28 August 2017 at 20:18:30 UTC, David Nadlinger 
> wrote:
>> None of these should be relevant if CC is set, as per the 
>> snippet I linked. Note that the default is only used after the 
>> env check. The fact that this doesn't seem to work indicates a 
>> bug in that logic, or in the way the environment is set up. 
>> What is CC actually set to?
> CC is set to the full path to clang 
> (/nix/store/<hash>-<packagename>-<version>/bin)

It needs to be set to the binary, not its containing directory. 
Try adding /clang.

More information about the digitalmars-d-ldc mailing list