From harrylu33008 at gmail.com Mon Dec 2 07:25:30 2024 From: harrylu33008 at gmail.com (Harry Lu) Date: Mon, 02 Dec 2024 07:25:30 +0000 Subject: CLI equivalent for 'lib-dir' configuration file option In-Reply-To: References: Message-ID: 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. From harrylu33008 at gmail.com Mon Dec 2 07:28:08 2024 From: harrylu33008 at gmail.com (Harry Lu) Date: Mon, 02 Dec 2024 07:28:08 +0000 Subject: ASM: Loading address of label truncates to 32 bits on x64 In-Reply-To: References: Message-ID: If I have this correctly understood, the LDC parses the D syntax and then converts it to the LDC/GDC syntax, and the asm-x86.h assembly is used to accomplish this. [mapquest driving directions](https://mapsdriving-directions.io/)