CSWB requires GTK+ in order to compile.
GTK requires a C compiler, OpenVMS Porting Library, PERL, and AWK to compile. With some editing it can compile without PERL and AWK.
The latest version of GTK+ provide by HP for OpenVMS is 1.2.10-A1. It is available both as an installable PCSI included with the CSWB download, and as compilable source code.
The file GTK1210-OPENVMS-A1.SFX_AXPEXE was downloaded and ran to unpack the contents into the directory in which it is in (for this reason I ran it in the folder DKA0:[GTK.v1_2_10].
The file vms_build_setup.com needs editing to define the location of the GTK source tree, and the OPL. For me it looked like this:
define /nolog groot /trans=conc dka0:[gtk.v1_2_10.]
define /nolog grootu "/dka0/gtk/v1_2_10"
define /noloj vjid dka0:[porting.dist.include]
define /nolog vjidu "/dka0/porting/dist/include"
define /nolog vms_jackets dka0:[porting.dist.lib]vms_jackets
Then the GTK+ compilation can be started by running vms_build.com
As is often the case, the default GTK+ source doesn't enable optimizations, but it's easy to edit the source, before compiling, to enable optimized code to be produced:
edit vms_cc.com
and change line:
cc_debug =""
to:
cc_debug = "/opt=(tune=host,inline=speed)"
No comments:
Post a Comment