lld-link should tolerate foo.o

kinke noone at nowhere.com
Thu Jan 10 11:58:48 UTC 2019


On Thursday, 10 January 2019 at 10:46:27 UTC, V V Kozlov wrote:
> But the linker apparently expects an .obj file

It's not the linker, it's LDC trying to figure out the file type 
based on its extension (.d, .di, .a/.so/.dylib/.lib, .o/.obj, 
...).

> Shouldn't this tolerate .o files?  (Clang does)

I don't think so.


More information about the digitalmars-d-ldc mailing list