Building from sources: Haxe, nekovm, Haxe tools
Building the Haxe toolset
The Haxe platform provides you with several tools:
- The Haxe compiler: A compiler that targets the following platforms: JavaScript, Flash, PHP, Neko. C++, Java, C#
- The neko VM: A fast and lightweight virtual machine (also available as a module to run in Apache server)
- The Haxe tools: Additional tools like haxelib to manage libraries and haxedoc to generate nice documentations.
1. The Haxe compiler
The haxe compiler is written in the OCaml language. Therefore the first step is to install OCaml.
If this is done we can compile Haxe:
- with make :
Since haxe version 2.09 you can use make to build the compiler from source. Instructions can be found here.
- or with ocaml install.ml :
Download install.ml and simply runocaml install.mlfrom command line. After that you'll get a./bin/haxebinary. You also need the files and directories inside the./stddirectory which contain the.hxstandard Haxe library and other platform specific files.
The source files are located at : http://code.google.com/p/haxe
Haxe on Windows
Build Haxe on Windows
Haxe on Linux
Building Haxe on Ubuntu / Debian
Haxe on Mac OS X
Build Haxe on Mac OS X
Creating Mac OSX distributions
2. The neko vm
The neko VM is written in C and provides extensions for running neko code on the Apache webserver or with a MySQL database.
Configure mod_neko
( How to configure Apache to run neko programs)
3. The Haxe tools: haxedoc and haxelib
Two additional tools can be compiled : haxedoc, the Haxe documentation generator and haxelib, the Haxe library manager. You can compile these by going into the directory haxe/std/tools/haxedoc and haxe/std/tools/haxelib and then running the corresponding .hxml file. It will compile a binary executable file. You need to have Neko installed first.
version #15188, modified 2012-07-26 14:33:48 by jan_flanders