Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is vala a cross platform language?

Vala is a programming language with C# same syntactic, valac compiles vala program to C source code, is it possible to run my vala program on windows os?

like image 449
Nasser Mansouri Avatar asked Apr 08 '12 05:04

Nasser Mansouri


2 Answers

You can easily port your Vala applications on Windows by two means:

  1. Run valac on Windows by using the mingw compiler on Windows
  2. Use mingw on Linux to cross-compile the generated C source for Windows

Both work very well, but I suggest to do the second because Vala on Linux is more up-to-date than on Windows.

like image 137
lethalman Avatar answered Oct 02 '22 16:10

lethalman


If you mean "does it compile on Windows?", then see the "OS" section in the infobox on the right here: http://en.wikipedia.org/wiki/Vala_(programming_language) and here are the instructions: http://live.gnome.org/Vala/ValaOnWindows

like image 21
noncom Avatar answered Oct 02 '22 16:10

noncom