Can't compile with ldc in termux

jfondren julian.fondren at gmail.com
Wed Aug 11 19:16:25 UTC 2021


On Wednesday, 11 August 2021 at 19:10:09 UTC, _ZZ_ZZ_ZZ wrote:
> On Wednesday, 11 August 2021 at 18:58:16 UTC, jfondren wrote:
>> confirm the location of ldc2.conf with `ldc2 -v`, then edit 
>> that file. Mine was at ../usr/etc/ldc2.conf (relative to $HOME)
>
> Mine was at `/data/data/com.termux/files/usr/etc/ldc2.conf` too.
> Now, the file contains:
...
> But... Now, what i do? :(
> (Yes, i'm a beginner)

```
default:
{
     switches = [
         "-defaultlib=phobos2-ldc,druntime-ldc",
         "-link-defaultlib-shared=false",
         "-linker=", // <-- add this
     ];
```



More information about the Digitalmars-d-learn mailing list