diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 5041ec2a0d..3458ff10ab 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,20 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-07 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/config/dos/watcom.cf + * harbour/config/win/watcom.cf + * harbour/config/os2/watcom.cf + * disabled DOS/4GW Banner + + * harbour/utils/hbmk2/hbmk2.prg + * use DOS/4G for DOS OpenWatcom binaries instead of causeway which seems + to have some troubles with executing child processes. At least in + FreeDOS inside DOSEMU. + Warning DOS/4G reduce maximal size of command line. Ideal seems to + be PMDEV but it's not free for commercial use though we can think + about using it to create Harbour binaries. + 2009-07-07 01:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbpwindow.prg + Implemented :setPointer() of type XBPWINDOW_POINTERTYPE_ICON. diff --git a/harbour/config/dos/watcom.cf b/harbour/config/dos/watcom.cf index 0f3d19bd2c..5f8ebb274d 100644 --- a/harbour/config/dos/watcom.cf +++ b/harbour/config/dos/watcom.cf @@ -98,8 +98,13 @@ $(foreach lib, $(GTLIBS), $(link_lib)) endef LD = wlink -# other SYS values: dos4g (default), pmodew (commercial) +# different SYS values: dos4g (default), pmodew (commercial), causeway +ifeq ($(LIBNAME),hbpp) +# we force causeway here as workaround for reduced command line size in dos4g LDFLAGS = SYS causeway +else +LDFLAGS = SYS dos4g op stub=wstubq.exe +endif ifeq ($(HB_BUILD_DEBUG),yes) LDFLAGS := debug all $(LDFLAGS) endif @@ -148,6 +153,9 @@ AR = wlib ARFLAGS = -p=64 -c -n $(HB_USER_AFLAGS) AR_RULE = $(create_library) +# disable DOS/4GW Banner +export DOS4G=quiet + include $(TOP)$(ROOT)config/rules.cf HB := $(subst /,$(DSEP),$(subst \,/,$(HB))) diff --git a/harbour/config/os2/watcom.cf b/harbour/config/os2/watcom.cf index 7655dcda49..1685e550ce 100644 --- a/harbour/config/os2/watcom.cf +++ b/harbour/config/os2/watcom.cf @@ -131,4 +131,7 @@ AR = wlib ARFLAGS = -p=64 -c -n $(HB_USER_AFLAGS) AR_RULE = $(create_library) +# disable DOS/4GW Banner +export DOS4G=quiet + include $(TOP)$(ROOT)config/rules.cf diff --git a/harbour/config/win/watcom.cf b/harbour/config/win/watcom.cf index 6f46b2fd0f..022ea445d4 100644 --- a/harbour/config/win/watcom.cf +++ b/harbour/config/win/watcom.cf @@ -138,4 +138,7 @@ AR = wlib ARFLAGS = -p=64 -c -n $(HB_USER_AFLAGS) AR_RULE = $(create_library) +# disable DOS/4GW Banner +export DOS4G=quiet + include $(TOP)$(ROOT)config/rules.cf diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index c9b0d22b7c..4b9ae8767d 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -2441,7 +2441,7 @@ FUNCTION hbmk( aArgs, /* @ */ lPause, /* @ */ lUTF8 ) ENDIF ENDIF cBin_Link := "wlink.exe" - cOpt_Link := "SYS causeway {FL} NAME {OE} {LO} {DL} {LL} {LB}{SCRIPT}" + cOpt_Link := "SYS dos4g op stub=wstubq.exe {FL} NAME {OE} {LO} {DL} {LL} {LB}{SCRIPT}" cBin_Lib := "wlib.exe" cOpt_Lib := "{FA} {OL} {LO}{SCRIPT}" cLibLibExt := cLibExt