Must I compile on the target architecture?

Lucien via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 25 06:00:20 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?

You're right.

Simply copy your files to the target and compile.


More information about the Digitalmars-d-learn mailing list