How to run lit tests on Mac OSX without gcc?

Thomas Mader via digitalmars-d-ldc digitalmars-d-ldc at
Sat Aug 26 09:39:43 PDT 2017

On Saturday, 26 August 2017 at 16:12:56 UTC, Jon Degenhardt wrote:
> OS X with xcode installed normally has a 'gcc' command in 
> usr/bin that points to clang. I have both clang and real gcc 
> (via macports) installed on my system. The version is /usr/bin 
> is clang. This allows build systems to refer to 'gcc'. Not sure 
> what part of the xcode setup is involved, perhaps command line 
> tools setup? On my system:
> $ /usr/bin/gcc --version
> Configured with: 
> --prefix=/Applications/ 
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 8.1.0 (clang-802.0.42)
> Target: x86_64-apple-darwin16.7.0
> Thread model: posix
> InstalledDir: 
> /Applications/

On my system /usr/bin/gcc differs from /usr/bin/clang.

But I just added the gcc dependency as it's needed on all 
platforms anyway.
Will see if everything is working then.

Thanks a lot to both of you.

More information about the digitalmars-d-ldc mailing list