I think whole Harbour dynlib generation for watcom is
missing or broken. -hbdyn option in hbmk2 is also broken,
-shared option in hbmk2 for watcom/linux is broken too.
hbmk2 watcom/os2 support is I believe not tested too much.

BTW has anyone tried to create .DLLs for DOS builds?
In theory it's possible.

watcom support is lacking in quite a few places regarding
recently added features. F.e. dynlibs on win, linux, os2.
I didn't even think about dos .dlls yet, but those also are
missing. (is it also possible for DJGPP?)

watcom is problematic because it is the only compiler which
redefines central CC_RULE, and much of the dynlib "magic"
is done there.

In case of HB_BUILD_SHARED it can be done the way it's solved
in hbmk2, but watcom is different enough to need special
watcom.mk level support for this feature. Currently solution
needs main*.libs to be passed with FILE prefix at least on win.

Update: Looks like win/watcom dynlib support is okay,
although any modules in forced C mode aren't supported.
(no such modules are required for Harbour .dll ATM)

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to