Home » Community » Newbie corner » Linux Executable (is there a way to build a linux executable from U++ on windows?)
Linux Executable [message #57396] |
Wed, 04 August 2021 13:11  |
adham_selim
Messages: 1 Registered: August 2021
|
Junior Member |
|
|
I need to build a .exe for linux but im using U++ on windows. Is there a way to do this or will I have to install linux?
|
|
|
|
|
Re: Linux Executable [message #57401 is a reply to message #57396] |
Thu, 05 August 2021 03:58   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
adham_selim wrote on Wed, 04 August 2021 07:11I need to build a .exe for linux but im using U++ on windows. Is there a way to do this or will I have to install linux?
Try to check what Docker can do for you.
Docker is based on Linux containers (lightweight version of VM).
Advantage - you do not need to install Linux. Docker will automatically download a preinstalled image for you.
Disadvantage - you will need to learn how to use Docker.
There are images with preinstalled Clang or GCC.
You'll just need to create an image with U++, which is using umk as a build tool.
Regards,
Novo
|
|
|
|
Re: Linux Executable [message #57422 is a reply to message #57402] |
Fri, 06 August 2021 01:28   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Thu, 05 August 2021 03:36Novo wrote on Thu, 05 August 2021 03:58adham_selim wrote on Wed, 04 August 2021 07:11I need to build a .exe for linux but im using U++ on windows. Is there a way to do this or will I have to install linux?
Try to check what Docker can do for you.
Docker is based on Linux containers (lightweight version of VM).
Advantage - you do not need to install Linux. Docker will automatically download a preinstalled image for you.
Disadvantage - you will need to learn how to use Docker.
There are images with preinstalled Clang or GCC.
You'll just need to create an image with U++, which is using umk as a build tool.
Guys, why I appreciate your suggestions, this is Newbie corner...
What's wrong with Docker? It is the same VM, but instead of installing packages manually you do this via a script (a Dockerfile).
Nobody uses VMs directly these days. A worst case scenario is a container. But Docker is even easier than that, although it is better suited for server apps.
Regards,
Novo
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:17:51 CEST 2025
Total time taken to generate the page: 0.00993 seconds
|