dud: A dub replacement
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Nov 26 21:19:58 UTC 2019
On Tue, Nov 26, 2019 at 12:32:54AM +0000, Adam D. Ruppe via Digitalmars-d-announce wrote:
> On Monday, 25 November 2019 at 23:46:31 UTC, H. S. Teoh wrote:
> > Oooh very nice!! That's wonderful to hear. So you're saying LDC
> > out-of-the-box can cross-compile from Linux to Windows directly?
> > How to do this? I'm *very* interested!
>
> ldc2 -mtriple=x86_64-pc-windows-msvc
>
> though you will prolly have to grab the druntime libs from the windows
> build.
>
> this same basic thing works for android and mac os too.
Hmm. I tried this (test.d is a hello world program):
ldc2 -mtriple=x86_64-pc-windows-msvc test.d
and got this:
Error: failed to locate link.exe
Where am I supposed to get link.exe?
T
--
That's not a bug; that's a feature!
More information about the Digitalmars-d-announce
mailing list