How to run lit tests on Mac OSX without gcc?

Jacob Carlborg via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Aug 27 23:19:35 PDT 2017


On 2017-08-27 00:31, Thomas Mader wrote:

> You are right and I probably wouldn't be able to get that merged into 
> upstream this way too.
> 
> The thing with Nix is that every dependency need to be fixed at build 
> time and can't change anymore.
> I was able to find the code where the path to gcc is searched for 
> linking and I just replaced "gcc" with "clang" in driver/tool.cpp.
> Since the CC environment flag is properly set by nix with the full path 
> to clang, it can be found and no gcc is needed at all.

Can you create a symlink called "gcc" pointing to "clang" and package 
that? To avoid modifying the source code.

-- 
/Jacob Carlborg


More information about the digitalmars-d-ldc mailing list