fpc/packages/ptc/docs/INSTALL.txt

33 lines
1.0 KiB
Plaintext

The supported platforms are Linux, FreeBSD, Windows, Windows Mobile and 32-bit
DOS (go32v2).
Generally you need the latest stable version of the Free Pascal Compiler, which
currently means version 3.0.4. Note that Windows 95/98/ME and NT 4.0 are still
supported, when this library is compiled with FPC 2.6.4. However, using
FPC 2.6.4 isn't guaranteed to work for any other platforms, besides Windows.
- Compiling the library:
Before starting make sure the FPCDIR environment variable is set correctly.
For example: (windows, fpc version 3.0.4, default install dir)
set FPCDIR=c:\fpc\3.0.4
To compile the library type:
fpcmake -r
make
Then you can do:
make examples
And then try to run the programs in the demos/ and examples/ dirs.
If compiling the library fails, make sure you're using the GNU make and not
some other make! (e.g. GNU make is usually called 'gmake' on *BSD)
'make -v' should report:
GNU Make version x.xx.x, ... etc. :)
On Windows and DOS this is the 'make' that comes with Free Pascal.