LDC2 compiled with MSVC forces object files to end with .obj
Kai Nacke
kai at redstar.de
Thu Jan 2 08:27:59 PST 2014
On Saturday, 21 December 2013 at 14:31:25 UTC, Dwhatever wrote:
> I use a Visual Studio compiled LDC2 and use it for cross
> compiling ARM targets. I need to use the binutils linker and
> there the default object file extension is .o rather than .obj.
> Is there a possibility for LDC2 to output the default object
> file extension to .o instead of .obj?
You can set a target triple: -mtriple=arm-linux. Then the file
extension .o is used.
Regards,
Kai
More information about the digitalmars-d-ldc
mailing list