Building for ARM with LDC

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Aug 11 21:38:07 PDT 2014


Hi Joakim!

On Monday, 11 August 2014 at 09:44:56 UTC, Joakim wrote:
> On Saturday, 19 July 2014 at 18:51:16 UTC, Kai Nacke wrote:
>> Hi master!
>>
>> On Friday, 18 July 2014 at 13:32:44 UTC, master wrote:
>>>
>>> windows platform only two target?
>>>
>>
>> As there are still serious problems with cross compiling we do 
>> only provide binaries for x86 / x86_64 targets.
>>
>> As soon as I have fixed the floating point issue (see 
>> https://github.com/ldc-developers/ldc/pull/643) it makes sense 
>> to provide binaries with more targets.
>
> Can you make available whatever scripts/patches/config you're 
> currently using to cross-compile for ARM?  I want to try it 
> out, in preparation for getting Android/ARM working.

For cross-compiling you need to use the pull request 643. Setting 
CC to the right gcc compiler (gcc-linux-arm) should be all you 
have to do.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list