lld-link should tolerate foo.o

V V Kozlov vvkozlov at gmx.de
Thu Jan 10 10:46:27 UTC 2019


When attempting to use Code::Blocks with LDC in Windows, the 
compile step works OK

ldc2.exe  -g    -I"C:\Program 
Files\LDC\ldc2-1.13.0-windows-x64\bin" -c hello.d 
-of=obj\Debug\hello.o

But the linker apparently expects an .obj file

ldc2.exe  -of=bin\Debug\test.exe obj\Debug\hello.o
Error: unrecognized file extension o

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




More information about the digitalmars-d-ldc mailing list