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 23:50:15 PDT 2017


On Monday, 28 August 2017 at 20:55:48 UTC, Thomas Mader wrote:
> No that might not be the case, normally it's just "clang" I 
> guess. Need to check that tomorrow.

I just checked. CC is set to "clang" correctly and clang is 
callable.
Within the PATH variable the path 
"/nix/store/2dijjcqwnzf0pj1ii524anz55nxm7pjs-clang-wrapper-4.0.1/bin/" is declared and in this directory the clang binary is found.

I guess with this setup "findProgramByName" should find the full 
path to clang.
Next I will try to build the package without my "gcc" -> "clang" 
substitution. Maybe it didn't work on some older version of 
nixpkgs because there was an error.

If it is still not working I need to debug into it more deeply.


More information about the digitalmars-d-ldc mailing list