Xlib bindings example



QUICK REFERENCE

        % make bindings

                Causes the c2ada translator to generate several .ada
                files which represent bindings to X.

        % make clean

                Causes all the auto generated files to be deleted
                along with the output files from the ICC Ada compiler.


        % make all

                Generates bindings to Xlib and compiles them with the
                ICC Ada compiler.  It also compiles and links the
                example hello_world program.



PORTING

You will need the ICC Ada compiler for the HP 700 target to fully
create the example hello_world program.  If you have another Ada
compiler you may be able to edit the Makefile and produce a valid
test.  I'd suggest you truncate the Make.deps file as it is an auto
generated file that is specific to the ICC Ada compiler.  To port this
program you will need:

        * Edit the c.ada file and modify it so that it is tailored to
        your compiler.  You might be able to get ports of this from
        others on the net.

        * Truncate Make.deps  (like "echo > Make.deps")

        * Change references to icc in the Makefile to your compiler
        and library manager.  You'll need to figure out what command
        line options are needed to support unsigned integers and
        unions.  The ICC compiler uses "pragma anarchy" for this
        (again details may be available from other users).
