Cross Compiler
Dicebot
public at dicebot.lv
Sun Mar 2 13:49:26 PST 2014
On Sunday, 2 March 2014 at 21:40:50 UTC, Jeroen Bollen wrote:
> On Sunday, 2 March 2014 at 21:39:11 UTC, Mathias LANG wrote:
>> On Sunday, 2 March 2014 at 21:08:38 UTC, Jeroen Bollen wrote:
>>> Is there a DMD cross compiler, or am I forced to use the GDC?
>>> I don't really mind using GDC, but I've always preferred DMD
>>> for some odd reason. I guess it has some good point, like
>>> faster compilation time and more up-to-date.
>>
>> I never tried for myself, but DMD is supposed to be able to be
>> a cross compiler (see src/mars.h).
>> Of course this apply only if you are targeting x86 / x86_64.
>> If you want an ARM cross compiler you have to stick with LDC /
>> GDC AFAIK.
>
> Am I correct saying no special flags are required?
-m32 / -m64 control target platform for DMD. For ARM + GDC/LDC
you should check their wiki's / manuals.
More information about the Digitalmars-d
mailing list