On Sunday, 9 July 2023 at 05:32:56 UTC, Danilo Krahn wrote:
On Saturday, 24 June 2023 at 15:16:37 UTC, Cecil Ward wrote:
I have LDC running on an ARM Mac. If anyone else out there is
an LDC or GDC user, could you knock up a quick shell program
to compile and link a .d file to produce an executa
Forgot the following flags:
`-L=-merge_zero_fill_sections -L=-no_exported_symbols
-L=-no_eh_labels -L=-dead_strip_dylibs`
So the full command is:
```
ldc2 --release --O3 --flto=full -fvisibility=hidden
-defaultlib=phobos2-ldc-lto,druntime-ldc-lto -L=-dead_strip -L=-x
-L=-S -L=-lz -L=-merge_ze
On Saturday, 24 June 2023 at 15:16:37 UTC, Cecil Ward wrote:
I have LDC running on an ARM Mac. If anyone else out there is
an LDC or GDC user, could you knock up a quick shell program to
compile and link a .d file to produce an executable ? found the
linker but these tools are all new to me and
On Saturday, 24 June 2023 at 15:16:37 UTC, Cecil Ward wrote:
I have LDC running on an ARM Mac. If anyone else out there is
an LDC or GDC user, could you knock up a quick shell program to
compile and link a .d file to produce an executable ? found the
linker but these tools are all new to me and
I have LDC running on an ARM Mac. If anyone else out there is an
LDC or GDC user, could you knock up a quick shell program to
compile and link a .d file to produce an executable ? found the
linker but these tools are all new to me and a bit of help would
save me a lot of trial and error and fru