[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

How to build a program to be run on Linux machine

I would like to build a small executable program that would be run on a linux box. The program would be equivalent to a C# console app on a windows PC. What programming language, IDE would be  best to build this application to be run on a linux machine
0
wademi
Asked:
wademi
4 Solutions
 
Éric MoreauSenior .Net ConsultantCommented:
check if Mono can help you with your specific project: http://www.mono-project.com/Main_Page
0
 
edster9999Commented:
c# is microsofts updated version of c++ which is the updated OO model version of c.

Both c and c++ are very well supported under Linux and most of the apps that sit on top of the linux kernel are written under one of these languages.
If you can, work with c++
0
 
wademiAuthor Commented:
So If I build a console app in C++ using visual studios 2010 I will be run it on linux?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Éric MoreauSenior .Net ConsultantCommented:
>>So If I build a console app in C++ using visual studios 2010 I will be run it on linux?

no
0
 
eagerCommented:
The C compiler on Linux systems is GCC, which is command line only.  Most programs for Linux are developed using command-line tools.  

For IDE, I recommend Eclipse, with CDT.  http://www.eclipse.org/  Look under "resources" for tutorials.
0
 
xeltekCommented:
0
 
HellmarkCommented:
Nothing you make in Visual Studio will compile for Linux. Microsoft doesn't support linux, and so their compiler will not make anything for Linux. Why would they want to support the competitor, especially when they'd not make any money from it?

Mono would be a good choice, which is basically an Open Source version of C#. C++ is good. Just make sure that your code is able to be compiled with something that is linux friendly.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now