Lazarus

Programming => Operating Systems => Linux => Topic started by: rafaelfm on November 23, 2011, 04:28:13 pm

Title: Creating a executable on Windows for Linux
Post by: rafaelfm on November 23, 2011, 04:28:13 pm
how to create an executable on windows to linux?
I tried:
Project/Project Options/Code Generation   
Target Platform =Linux
Target CPU Family= arm
Target CPU = Default

Am I Right? Have I to Install in linux to convert my project?

Thank You!
Title: Re: Creating a executable on Windows for Linux
Post by: BigChimp on November 23, 2011, 04:49:51 pm
Check the wiki for articles on cross compiling (as that is the term for what you are asking). The forum also has a lot of posts on this.
It's often easier to have a virtual machine with linux on it, and compile there, because you'll have to test the software anyway...
Title: Re: Creating a executable on Windows for Linux
Post by: Martin V on November 25, 2011, 04:09:49 pm
...or installing a native linux in addition to Windows. Linux reads and writes your Windows partitions, so it is sufficient to have your program source data at one place where you compile it both for Linux and Windows. You should also think about installing both a 32 bit and a 64 bit variant of Linux.
TinyPortal © 2005-2018