fpc/packages/svgalib
Károly Balogh da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
..
examples * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used. 2014-02-07 12:37:17 +00:00
src
fpmake.pp * Handle the location of each package at run-time, not at compilation time 2013-06-02 17:55:23 +00:00
Makefile AROS: regenerated Makefiles to support i386-aros 2014-08-17 23:16:47 +00:00
Makefile.fpc * always use forward slashes in path to fpmake similarly to paths to other tools in Makefiles 2014-02-01 00:11:09 +00:00
Makefile.fpc.fpcmake
README.txt

This is the svgalib unit for Free Pascal.

Requirements:

To use this unit, you need at least:
 - Free Pascal 0.99.8 or higher
 - libsvga 1.2.10 or higher

Installation:

Edit the makefile to suit your setup (compile, options, where do you want to install)

Just type 'make', and all units will be compiled.
Type 'make install' to install the units.

Testing:

Two small testprograms have been provided:

vgatest : This is a translation of the C program that comes with svgalib.
testvga : Small program to demonstrate that you can draw lines on the screen in any mode.

typing 'make test' will compile the programs.

It is possible that you must be root to run these programs, 
The SVGAlib docs I have aren't clear about that.
If the programs should be able run as another user, you should make them setuid root.

I tested everything as root, and it ran smoothly, your mileage may vary, however.

Michael.