Cross Compile to Linux from Windows using LDC?

kinke noone at nowhere.com
Thu Feb 10 20:29:35 UTC 2022


On Thursday, 10 February 2022 at 16:52:32 UTC, H. S. Teoh wrote:
> If I understand it right, you ought to be able to do the same 
> thing on Windows [...]

Not quite; cross-compiling to Windows has been made especially 
simple and is a special case. When cross-compiling from Windows 
to Linux, this applies: 
https://wiki.dlang.org/Cross-compiling_with_LDC#Non-Apple_POSIX_targets - a working C cross-compiler setup is required for linking, incl. glibc.


More information about the Digitalmars-d-learn mailing list