The library files that Roadsend PHP generates need to be installed in a directory where they can be accessed
at runtime by programs which were built to use them. This directory is configurable via the pcc.conf
configuration file with the library
directive (see Configuration).
The Roadsend Studio IDE allows installation of libraries directly from the IDE.
Roadsend PHP also provides a command line a mechanism for installing libraries into the proper directory.
To use it, specify the --install
command line option, in addition to the library name:
$ pcc --install -l test-lib Roadsend PHP Compiler [1] /usr/local/lib/pcc-lib/ [2] /usr/lib/roadsend/ select an install directory:
Roadsend PHP will give you the option of installing into any of the directories listed in your pcc.conf file. After selecting a directory for installation, the proper files will be copied and the library will be available for use.