blob: 76a63948688adab2ba85024bf4a33180b98aca0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
FPC demo package
================
This packages contains the following subdirectories:
- text text mode demos (should run everywhere)
- graph demos which use the graph unit (runs nearly everywhere)
includes gameunit (text&graph), outputs to another subdir level
- modex demos which make extensive use of modeX (runs with go32v2 only)
- win32 demos which are win32 specific
- linux demos which are linux specific
- lister KVM api demo. Runs on Unix and win32 currently.
- os2 demos which are OS/2 specific
- palmos demos which are palmos specific (dragonball)
- netware demos which are netware(clib) specific
- netwlibc demos which are netware(libc) specific
- macos demos which are macos (classic) specific
- freebsd demos which are freebsd specific
- morphos demos which are morphos specific
- wince demos which are wince specific
To build the programs (except for macos and wince) simply type 'make' in
the base dir. To do a cross build, type make OS_TARGET=crosstarget, i.e.
make OS_TARGET=win32. This assumes the crossbinutils and cross RTL are
properly installed and configured.
To build the macos sample, issue the command 'fpc <filename>' in MPW in
directory macos.
If you want to add further samples, edit Makefile.fpc and rebuild the real
Makefile by entering 'fpcmake -T all'. This is a special fpc generic utility
to simplify platform independent makefile generation for the user.
|