Can't compile with ldc in termux

jfondren julian.fondren at gmail.com
Wed Aug 11 18:58:16 UTC 2021


On Wednesday, 11 August 2021 at 18:46:44 UTC, _ZZ_ZZ_ZZ wrote:
> On Wednesday, 11 August 2021 at 18:20:13 UTC, Paul Backus wrote:
>> Maybe try compiling with `--linker=` (nothing after the `=` 
>> sign) and see if that helps?
>
> YOU ARE MY HERO!!!
> it works, and it's great!
>
> But in any case ... Can i configure the compiler to 
> automatically execute the `--linker =` flag?

confirm the location of ldc2.conf with `ldc2 -v`, then edit that 
file. Mine was at ../usr/etc/ldc2.conf (relative to $HOME)


More information about the Digitalmars-d-learn mailing list