Compile to a different OS
Compile to a different OS
I am new to PB. I am using windows. How to compile my application to a different OS (Mac, Lunix, etc)? I can see in the menus “Default target” and “All targets” but they are not working. And in the compiler options there are Windows, Console, and Dll only and no other OS.
-
- Addict
- Posts: 4779
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Compile to a different OS
Hi,
welcome to the forums!
Regards, Little John
welcome to the forums!
This is not possible with PB. You can only run another computer (or a virtual machine) with your wanted OS, then install the appropriate PB version there and compile your program there.hmasr wrote:How to compile my application to a different OS (Mac, Lunix, etc)?
Regards, Little John
Re: Compile to a different OS
To elaborate, PureBasic is not a 'cross compiler'. It can only compile to the OS you're running on. The multiple targets in this case include whether it's debug or not, and 32bit versus 64bit, if you have both 32bit and 64bit compilers installed on a single OS.Little John wrote:This is not possible with PB. You can only run another computer (or a virtual machine) with your wanted OS, then install the appropriate PB version there and compile your program there.
-
- Addict
- Posts: 4779
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Compile to a different OS
Ok,
Thanks all for the prompt reply
Thanks all for the prompt reply