digitalmars.D.learn - DMD 2.114 ucrt linking
- Ssenni (9/9) Aug 30 Because there's some nice goodies in the 2.114 nightly, I wanted
Because there's some nice goodies in the 2.114 nightly, I wanted to try it out. One of the changes is using UCRT as the C runtime. But despite running vcvars64.bat and passing LIBPATH to the linker and libcmt.lib/libucrt.lib via -mscrtlib and/or -L switches, lld-link complains about undefined symbols (printf, sscanf etc) or duplicates. I think I've tried every combination at this point. The only thing that works for me is -mscrtlib=msvcrt120.lib. Anyone had success?
Aug 30








Ssenni <ssenni gmail.com>