How to run lit tests on Mac OSX without gcc?

Thomas Mader via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Aug 28 13:57:03 PDT 2017


On Monday, 28 August 2017 at 20:54:36 UTC, kinke wrote:
> 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.

Yes I forgot to add the /clang. It's late. ;-)


More information about the digitalmars-d-ldc mailing list