Using $(LD) directly for linking can cause issues with cross-compilers and various other toolchains, as various libraries such as libc may not be implicitly linked in, causing symbol resolution errors. Linking through the C compiler frontend solves this issue.
5.1 KiB
5.1 KiB