Hello,

I have compiled a C source program to a .obj file on Windows using Clang.  Next 
I tried to link it to produce an .exe with the following compiler string:

ld -o C:\C_Projects\Test_Proj.exe C:\C_Projects\Test_Proj.obj

but I get this error:

file not recognized: file format not recognized

Can I use minGW-64 to link a .obj file created with Clang?  If I can, what did 
I do wrong?

Thanks very much,

Brian




_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to