local LDC install conflicts with system install cause linker error
kinke
noone at nowhere.com
Fri Aug 12 00:48:25 UTC 2022
On Thursday, 11 August 2022 at 18:55:52 UTC, mw wrote:
> maybe it confuse the two conf files?
>
> /my/local/ldc2/etc/ldc2.conf
> /etc/ldc2.conf
A `../etc/ldc2.conf` relative to the executable should take
precedence over system-wide `/etc/ldc2.conf`. Running with `-v`
shows the used config file and the invoked C compiler cmdline for
linking, which should contain a `-L<path to local lib dir>
-lphobos2-ldc -ldruntime-ldc`, supposedly making sure the local
libs take precedence over the system libs.
More information about the digitalmars-d-ldc
mailing list