On Sat, 19 Sep 2009, [email protected] wrote:2009-09-19 15:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/dynlib/mt/Makefile * source/dynlib/Makefile * source/Makefile * config/global.mk * config/bin.mk + Added experimental support for HB_BUILD_SHARED=yes setting, which tells GNU Make to create shared Harbour tool executables. ; TOFIX: watcom for sure needs to be fixed.Wow, thank you very much. Watcom shared library in Linux builds does not work correctly at all though at least now they can be created and it's probably problem with watcom but I haven't look for details yet. Do you have problems with other watcom builds?
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. Brgds, Viktor _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
