A supported C compiler, linker, librarian and make are required since xHarbour uses C as intermediate language. The supported compilers/tools are:
Embarcadero
These are the Borland/Embarcadero C++ Command Line compilers. They also include Borland Turbo Incremental Linker (ilink32) and Borland Resource Compiler (brc32)
Setting the Environment Variables for Borland/Embarcadero C++:
• Make sure that the directory containing bcc32.exe
is in your windows search path. bcc32.exe is located in the \bin subdirectory of
the Borland C compiler installation directory.
• Make sure that there is a bcc32.cfg file in the \bin subdirectory of your
compiler. Its needed to set the compiler options and the include paths.
This is what bcc32.cfg should contain:
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
• Make sure that there is a ilink32.cfg file
in the \bin subdirectory of your compiler. It is required in order to set the linker options.
This is what ilink32.cfg should contain (paths may differ):
-Lc:\borland\bcc\lib;c:\borland\bcc\lib\psdk
Microsoft Visual Studio Community
The Microsoft Visual C++ 2022 compiler.
MinGW
A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.
Pelles C
Pelles C for Windows is a free complete development kit for Windows.
