Source archives and Windows binaries are available for download:
<@HB_VER_ORIGIN_URL@releases>
- Harbour tools (requires 64-bit OS)
- Static and dynamic libraries to create 32-bit and 64-bit apps
- Static and dynamic libraries of
libcurl
,openssl
,libssh2
,nghttp2
for 32-bit and 64-bit apps - Example and test sources
getsrc.sh
script to download source codeBUILD*.txt
with build details in Harbour root directory
- Unpack to any directory 1
- Install MSYS2 by following steps at https://www.msys2.org/
Make sure you update MSYS2 to its current latest version, as described there. - Install MinGW-w64 and LLVM/Clang C compiler toolchain on the MSYS2 console:
pacman --noconfirm -S git {base,msys2}-devel mingw-w64-{i686,x86_64}-{clang,toolchain}
- Launch the Command Prompt
- Build a 32-bit test app:
set PATH=C:\msys64\mingw32\bin;C:\hb\bin;%PATH% hbmk2 C:\hb\tests\hello.prg -run
- Build a 64-bit test app:
set PATH=C:\msys64\mingw64\bin;C:\hb\bin;%PATH% hbmk2 C:\hb\tests\hello.prg -run
- Further hints in section Build Your Own Harbour App of
README.md
- To customize/build/rebuild Harbour components, run
C:\hb\getsrc.sh
to download sources and continue as described in section How to Do a Partial Build ofREADME.md
1 This document uses C:\hb
Viktor Szakats