Re: LDC cant find lld-link when crosscompiling

2024-10-10 Thread kinke via Digitalmars-d-learn
On Wednesday, 9 October 2024 at 16:07:29 UTC, AzuraAkumore wrote: I installed both LDC and DMD via the deb package files. And that's the problem - that deb package apparently wasn't built with the LLD linker integration. Official LDC releases from GitHub are, and thus default to `-link-intern

Re: LDC cant find lld-link when crosscompiling

2024-10-09 Thread Johan via Digitalmars-d-learn
On Wednesday, 9 October 2024 at 16:07:29 UTC, AzuraAkumore wrote: Im trying to set up a project that i want to compile for both Windows and Linux. I a on a Linux machine. When compiling for Linux, the platform I'm on, ldc works no problem. its only when I specify to compile for windows that it

Re: LDC cant find lld-link when crosscompiling

2024-10-09 Thread Sergey via Digitalmars-d-learn
On Wednesday, 9 October 2024 at 16:07:29 UTC, AzuraAkumore wrote: Where have i messed up or am I even on the right track? It seems fine.. the only thing I can think about is misuse of 32/64 bit libs.. I have this notes: 1) Download Windows multilib 2) Install ldc on linux to LDC_PATH/ldc 3)

LDC cant find lld-link when crosscompiling

2024-10-09 Thread AzuraAkumore via Digitalmars-d-learn
Im trying to set up a project that i want to compile for both Windows and Linux. I a on a Linux machine. When compiling for Linux, the platform I'm on, ldc works no problem. its only when I specify to compile for windows that it cant find lld-link. I installed both LDC and DMD via the deb pac