Is there an Integrated Developemnt Environment (IDE) that enables us to write programs for Windows and Mac in Ubuntu?

  • You could use virtualbox to virtualize any environment you want. What language are you developing in? – adempewolff May 28 '12 at 7:36
  • C++ or C#. but if there is a language similar to Visual Basic, I'd prefer that. – Mujahid May 28 '12 at 7:41
  • 1
    You'll be happy to know that Mono actually supports Visual Basic 8. – Eliah Kagan May 28 '12 at 8:29
  • As long as you just write it for the specific OS (so don't import libraries and the like based on other OSs), you should be fine. So yes. – Dr_Bunsen May 28 '12 at 15:48
  • Do you mean so long as the program is not OS-specific, then it should run on multiple OSes? It's not totally clear what you mean. – Eliah Kagan May 28 '12 at 16:06

From http://monodevelop.com/

MonoDevelop is an IDE primarily designed for C# and other .NET languages. MonoDevelop enables developers to quickly write desktop and ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop makes it easy for developers to port .NET applications created with Visual Studio to Linux and to maintain a single code base for all platforms.

MonoDevelop is based on Mono, a free open source implementation of the .NET Framework. Mono supports C#, but also supports Visual Basic 8. MonoDevelop supports multiple languages, including C# and Visual Basic, So if you prefer to develop in VB, you can do that with MonoDevelop on Ubuntu, and you can run your VB programs on Ubuntu (and Windows) too.

Sounds like that is what you need.

|improve this answer|||||
  • @EliahKagan, please do not edit new content in the actual answer, but feel free to add it in a comment (or write your own answer) – Thorbjørn Ravn Andersen May 28 '12 at 8:31
  • 5
    On AskUbuntu, editing answers like this is considered good. However, respecting the intent of the original author is at least as important. I have improved my edit (it was lacking, originally). But if you still prefer your original version, please feel free to revert the edit. You can revert an edit in the revisions list, by using the rollback link. – Eliah Kagan May 28 '12 at 8:34
  • I don't mind having corrective edits for spelling errors and grammar, but I personally think that major edits should be reserved the original author based on suggestions put in comments. This is based on my experience elsewhere on SE. – Thorbjørn Ravn Andersen May 28 '12 at 8:46
  • 3
    Corrective edits for major content, and additive edits in the spirit of and contextually appropriate to the original post, tend to be welcome on AskUbuntu. Even edits deleting material as it becomes less useful for future releases occur with some regularity. I would imagine that different SE sites have different community standards about what kinds of edits are appropriate--in AskUbuntu, we tend to think that edits that improve the post are good, so long as they don't disrespect or misrepresent any of the authors. I have edited and been edited in this way many times here, without complaints. – Eliah Kagan May 28 '12 at 8:53
  • 1
    Adding new content is ok and is encouraged on Ask Ubuntu. Its all about improving Questions and Answers - adding good new content and removing old irrelevant content. If in doubt please raise a Meta question. Thanks. – fossfreedom May 28 '12 at 17:25

You can cross-compile Windows executables under Ubuntu using the mingw32 package, as described in the answers to this question:

How to program for Windows in Ubuntu?

Alternatively, if you stick to platform independent APIs (e.g. GTK or Qt for graphical applications, or any other libraries that are portable to the target system) it is possible to port to Windows or MacOS without too much trouble.

In either case, you will probably want to test them on your chosen target platform to make sure they actually function correctly there. So it won't necessarily remove the need to access those platforms.

|improve this answer|||||

Qt Creator is one such IDE:


|improve this answer|||||

No one has said java !

And the most popular ide eclipse

Java for apple.

|improve this answer|||||

You should definiely consider Java or Python, both languages are platform-independent and are relatively easy to program. But the advantage with python is that you do not have to compile it so that it does not have to be compiled in Windows to run on it.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.