Surprise using DMD as replacement C compiler

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Feb 29 20:40:34 UTC 2024


Looks like we don't have a dmd specific CC variable.

https://github.com/dlang/dmd/blob/03f149760f53926d1c411d646f87894569fb1948/compiler/src/dmd/link.d#L480

```sh
DMD_CC=$CC
CC=dmd
```

That would've made it easier for you.

https://issues.dlang.org/show_bug.cgi?id=24423


More information about the Digitalmars-d mailing list