Previous Topic Next topic Print topic


Generating Native Code

You can use the Generate option on the main menu to create a file with extension .gnt containing native machine code, which executes faster than intermediate code. The .gnt file can be run using the Run option as described in the section Running below.

To create tictac.gnt:

  1. Press F6=generate on the main menu.

    A menu appears enabling you to specify the program to compile. Because you have just been working with tictac, its name is already set there as default; and the default settings of the menu are what we want. So you do not type anything on this menu.

  2. Press Enter

    The system displays a banner identifying the Generator and some directives that Studio Enterprise Edition for UNIX has automatically set. The function finishes after just a few seconds.

You are then returned to the main menu.

Previous Topic Next topic Print topic