LDC2 compiled with MSVC forces object files to end with .obj

Dwhatever not at real.com
Thu Jan 2 16:28:33 PST 2014

On Thursday, 2 January 2014 at 16:28:01 UTC, Kai Nacke wrote:
> 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

Thanks, that seems to do the trick.

More information about the digitalmars-d-ldc mailing list