Skip to content

HbBuilder v1.1.0 — xHarbour support

Choose a tag to compare

@FiveTechSoft FiveTechSoft released this 16 May 10:26
· 15 commits to main since this release

Highlights

xHarbour compiler support (Windows) — projects can now be built against xHarbour (c:\xHarbour) or xHarbour.com instead of Harbour.

What's new

  • New Tools → Select Harbour Flavor... menu item picks the flavor (Harbour / xHarbour / xHarbour.com). The choice is persisted in hbbuilder.ini ([IDE]Flavor) and defaults to harbour, so existing Harbour builds are unchanged.
  • FindHarbour() searches c:\xHarbour / c:\xHarbour.com with the flat xHarbour layout (bin\harbour.exe, lib\*.lib).
  • The build's link step uses xHarbour core lib names (rtl/vm/codepage/lang/rdd/macro/pp/common/...) instead of Harbour's hb*-prefixed libs, across the msvc/bcc/mingw branches.

Fixes

  • xHarbour SourceForge libraries are OMF (Borland) format and cannot be linked by MSVC link.exe (LNK1136). A xHarbour flavor now prefers/auto-switches to BCC, or reports a clear error when no BCC is installed.
  • BCC compile commands now place -o before the source file (BCC ignores it otherwise), which left stddlgs.obj unbuilt.
  • Source compatibility: __XHARBOUR__-guarded shim in classes.prg for Harbour-only RTL functions; __PLATFORM__WINDOWS normalization; hbide.h / hbbridge.cpp / hb_db_real.cpp adjusted for the xHarbour C API.

Notes

  • Windows only. c:\xHarbour.com is a source tree and must be built before it can be used as a compiler target.

Full changelog: see ChangeLog.txt (section 2026-05-16).