Translation from Object Icon source files to intermediate
.u files is done by the program
Input source files should have the suffix
.icn. To translate one or more files, invoke
oit as follows :-
oit -c file1.icn file2.icn ...
This will produce
oit program is also used to link
.u files together to form an executable file that can be run :-
oit -o prog file1.u file2.u ...
You can also go directly from the source file to the executable if you wish. In this case the intermediate
.u files are deleted. For example :-
Translates and links
myprog.icn into an executable
oit accepts the following command-line options :-
invocable allin a source file).
.uxfile giving information about the icode file. This is only useful if you are interested in the virtual machine instructions used by oix.
The runtime system is contained in the program
oix. It is not normally necessary to run that directly because the executable built by
oit invokes it automatically.
oix can be invoked by
oit by appending
-x to the command line (followed by any desired runtime arguments). For example
oit myprog.icn -x
translates, links and runs
myprog.icn. The executable file
myprog is not deleted after completion (unlike the intermediate
.u file). Note that if the current directory (".") is not on your
PATH variable, you need to enter
oit ./myprog.icn -x