CLI equivalent for 'lib-dir' configuration file option
Harry Lu
harrylu33008 at gmail.com
Mon Dec 2 07:25:30 UTC 2024
On Monday, 20 May 2024 at 15:58:04 UTC, kinke wrote:
> Hi! Yeah, there's no CLI equivalent for `lib-dirs`, which is
> special. See e.g. the `libDirs` occurrences in [io
> games](https://io-games.onl/)
> https://github.com/ldc-developers/ldc/blob/master/driver/linker-msvc.cpp. What you are missing in this specific case is linking `ldc_rt.builtins.lib`, which the compiler only does implicitly if found in `lib-dirs`, as for other libraries (not guaranteed to be bundled with the LDC installation) and object files.
This is a really thoughtful post. Thank you from the bottom of my
heart. I am forward anticipating reading other posts from you.
More information about the digitalmars-d-ldc
mailing list