On Fri Nov 25 18:56:43 2022 +0000, Jacek Caban wrote:
Interesting findings, thanks. I didn't know that such targets even exist... And I agree, it's better to always pass `-fuse-ld` in that case.
I pushed a new version that just always passes `-fuse-ld`. We can't do the same for `-rtlib`, because `-rtlib=platform` requires your commit 0a4c6c9f98a6d, which is not yet present in released clang versions. I also think that this option shouldn't really matter and -nostdlib achieves that.