Skip to content

Guidelines_for_Harbour_users.

AntonioFS edited this page Feb 28, 2022 · 2 revisions

The FLH (FiveLinux Harbour) package is contained in two libraries: 'libfive.a' and 'libfivec.a'; another one, 'libfivex.a', is also provided, which is only needed for xHarbour, as both Harbour and xHarbour use the same library 'libfivec.a'. Note that on Linux libraries have the '.a' extension.

In addition, FLH provides a large set of header files (extension '.CH') that implements all the xBase commands needed to create and manage the different GUI objects.

In the sample directory '/samples', the file 'build.sh' is provided for Harbour and 'buildx.sh' for xHarbour. This file shows the correct way to compile and link applications developed with Harbour and FLH. In the code of the above file, note the use of gcc after calling the Harbour compiler, to generate the appropriate OBJ file to be linked with the gcc link function.