The o42a compiler and source code are available under the terms of GNU General Public License, version 3 or later.
The run-time libraries and source code are available under the terms of Mozilla Public License, version 2.0
The source code is available for download here.
The latest sources can be obtained from project’s Mercurial repository. For that, type the following command in console:
hg clone https://bitbucket.org/o42a/o42a
Or follow to the source section at Bitbucket.
Information about releases can be found here.
o42a works on GNU/Linux with x86_64 architecture. Other configurations not tested.
- Java SE 1.8
- LLVM 3.4
- ICU 4.6 (May also work with earlier releases)
- Apache Ant 1.9
- GNU Make
- GCC or compatible C/C++ compiler
Customize The Build
You may be required to customize the build. For that:
- enter the ‘build’ directory,
- locate the files you want to customize (those with names containing
.default.sub-string) and follow customization instructions inside.
Once all dependencies installed, enter the directory, where o42a located and invoke the following command:
o42a does not require a special installation procedure. To invoke
just add the o42a directory to the
PATH environment variable or create
an alias for
“Hello, World!” Execution
examples directory and type in the following command:
to compile and run the program, or
to only compile, but not execute it.
The compiled executable will be called