Cross-compiling a static binary from GitHub Actions

Vladimir Panteleev thecybershadow.lists at gmail.com
Fri Oct 1 11:46:37 UTC 2021


On Friday, 1 October 2021 at 11:41:06 UTC, kinke wrote:
> I guess you *could* try compiling druntime manually, defining 
> `version (DRuntime_Use_Libunwind)` to use libunwind instead of 
> libbacktrace. See 
> https://wiki.dlang.org/Building_LDC_runtime_libraries for how 
> to do that quite painlessly.

Wow, that looks cool.

`version=DRuntime_Use_Libunwind` seems to have bitrotten a bit 
though I think:

```
core/internal/backtrace/handler.d(89): Error: undefined 
identifier `Dl_info`
core/internal/backtrace/handler.d(90): Error: undefined 
identifier `dladdr`
```



More information about the digitalmars-d-ldc mailing list