How to run lit tests on Mac OSX without gcc?

Thomas Mader via digitalmars-d-ldc digitalmars-d-ldc at
Mon Aug 28 09:52:37 PDT 2017

On Monday, 28 August 2017 at 06:19:35 UTC, Jacob Carlborg wrote:
> Can you create a symlink called "gcc" pointing to "clang" and 
> package that? To avoid modifying the source code.

This seems to be an unnecessary redirection and isn't the way 
such things are handled in Nix AFAIK.
I need to patch sources any way because there are other inpure 
paths in phobos too.

See the package for dmd for example:

But I see that it's a problem to directly use clang because 
without wrapping there might go something wrong.
But if clang wouldn't be supported directly the FreeBSD condition 
would be wrong too.
So with my current knowledge I would suggest that I open a PR to 
add a condition for OSX with clang too.

More information about the digitalmars-d-ldc mailing list