Hi guys, so I'm ready to deploy a console app to linux to run as a daemon/service there.
It's a very basic question but how do I configure the compiler to do that? I looked at it but couldn't find the options.
Thanks in advance
Compile to Linux executable from Windows IDE
-
- User
- Posts: 65
- Joined: Tue Feb 11, 2020 7:50 am
Re: Compile to Linux executable from Windows IDE
PB is not a crosscompiler
You can not do this.
You need a linux PC and compile the code in a linux environment.
But since you also need to test the created executable you definately need a linux system.
So it doesn't matter.
You can not do this.
You need a linux PC and compile the code in a linux environment.
But since you also need to test the created executable you definately need a linux system.
So it doesn't matter.
Re: Compile to Linux executable from Windows IDE
If you don't have or want a dedicated Linux machine, just create a virtual machine with VMware or VirtualBox and compile from there. The benefit is, as infratec mentioned, that you can also test your program right away.
Et cetera is my worst enemy
Re: Compile to Linux executable from Windows IDE
or use WSL (Windows Subsystem for Linux)
-
- User
- Posts: 65
- Joined: Tue Feb 11, 2020 7:50 am
Re: Compile to Linux executable from Windows IDE
Thank you for the info. Much appreciated everyone!