Must I compile on the target architecture?

FrankLike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 28 17:38:21 PST 2015


On Friday, 25 December 2015 at 12:43:05 UTC, Jakob Jenkov wrote:
> Hi, just a quick question:
>
> If I write a program in D and I use Windows for development but 
> want it to run on Linux, do I have to copy the source code to 
> the target Linux machine and compile it there, to make an 
> executable for that machine? What is the standard process for 
> cross platform compilation?

GDC is best for cross platform compilation,download it from 
gdcproject.org.


More information about the Digitalmars-d-learn mailing list