Hi Mel,
> Following Massimo's suggestrion, I used the -lxhb option to hbmk2,
>and managed to build hello.prg and speedtst.prg.
Good news.
> (I'm really trying to make it easy for xHarbourites to move to
>Harbour by trying to eliminate procedures and files that would be
>confusing and discouraging to them. e.g., hbmk2 and all its
>ramifications, etc)
It's just a single exe to copy in place.
Then maybe the deletion of some unnecessary env settings,
in case they happen to confuse hbmk2 (f.e. multiple
compilers in PATH, multiple versions of the same compiler),
these are all useful in a generic sense, but even these are
not obligatory, just recommended.
From this point usage should be fairly straightforward for
basic build cases. As an added bonus, anything learned
can be reused on all platforms and with all compilers.
Few words for the .BAT hbmk2 cmdline:
-static: it's the default build mode on Windows, so it can be dropped
-st: it's the default mode with -static build and it's ignored with -shared
builds, so I suggest to remove this to avoid possible confusion.
-rebuildall: this is ignored in default mode and only effective when used
in conjunction with -inc (incremental build) option. But even then it's
not useful to hardwire it into .BAT file, because it effectively disables
any benefits of -inc. I suggest to delete it.
This may be dangerous if both dirs exist and they
contain different GCC versions:
SET PATH=\MINGW\BIN;\MINGW32\BIN;%PATH%;
Better implement IF EXIST conditions to add one or the other.