ocamlsvga - Objective Caml interface for the SVGA library Copyright (C) 1997 Jean-Christophe FILLIATRE INSTALL ======= See the enclosed file INSTALL. USE === To compile an O'Caml program that uses the ocamlsvga library, do ocamlc -custom vga.cma \ -cclib -locamlsvga [-cclib -lvgagl] -cclib -lvga or ocamlopt vga.cmxa \ -cclib -locamlsvga [-cclib -lvgagl] -cclib -lvga The "-cclib -lvgagl" is only necessary when using the module Gl. Don't forget that programs using the SVGAlib must be setuid-root (do "chmod 4755 file" as root). Root priviledges are given up when exiting the function Vga.init. So, put it as the first evaluation of your program and it will be relatively safe. DOCUMENTATION ============= The .mli files are rather self-explanatory. See also in the directory doc/. The .txt files shortly describe the differences between this library and the original one (the C library).