Why D needs a C compiler?

rempas rempas at tutanota.com
Tue Aug 3 12:59:49 UTC 2021


To me big surprise, I tried to compile my program after changing 
the "/bin/cc" link from "gcc" to "tcc" and I got an error saying: 
`tcc: error: unsupported linker option '--gc-sections'`.

I haven't noticed that D needs a C compiler before. Why is that 
and why the TinyC compiler (tcc) cannot be used and more 
importantly, can we fix that?


More information about the Digitalmars-d mailing list