[next] [tail] [up]

### 2.1 Compiling

In order to compile FPDO C, the following things are needed:

1. The fpdoc sources. These can be downloaded from the FPDO C website.
2. The Free Pascal compiler sources. FPDO C uses the scanner from the Free Pascal comiler to scan the source file.
3. The FCL units (or their sources) should be installed.
4. fpcmake is needed to create the makefile for fpdoc. It comes with Free Pascal, so if Free Pascal is installed, there should be no problem.
5. To make new internationalisation support files, rstconv must be installed, and the GNU gettext package.

Links to download all these programs can be found on the FPDO C website.

When the fpdoc sources have been unzipped, the Makefile must be generated. Before generating the makefile, the location of the compiler source directory should be indicated. In the Makefile.fpc file, which has a windows ini file format, locate the fpcdir entry in the defaults section:

     fpcdir=../..

and change it so it points to the top-level Free Pascal source directory.

After that, running fpcmake will produce the Makefile, and running make should produce 2 executables: fpdoc and makeskel.

[next] [front] [up]