2009-08-11 16:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* config/globsh.cf
  * config/win/bcc.cf
    + Added NOTEs about Windows NT family command-line length limits.
      It's 2047 for NT/2000 and 8191 for XP and upper.
      Seemingly also on Vista or Windows 7. Probably memory is still
      too expensive at MS ;) or, they want us to switch to PowerShell?
This commit is contained in:
Viktor Szakats
2009-08-11 14:48:04 +00:00
parent a7e3211114
commit 8d70968dda
3 changed files with 17 additions and 0 deletions

View File

@@ -17,6 +17,14 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-08-11 16:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
* config/win/bcc.cf
+ Added NOTEs about Windows NT family command-line length limits.
It's 2047 for NT/2000 and 8191 for XP and upper.
Seemingly also on Vista or Windows 7. Probably memory is still
too expensive at MS ;) or, they want us to switch to PowerShell?
2009-08-11 16:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.cf
% Using := instead of = for 'BIN_NAME'.

View File

@@ -54,6 +54,11 @@ endif
ifeq ($(HB_SHELL),nt)
# NOTE: According to http://support.microsoft.com/kb/830473
# The command line length limit for cmd.exe is 8191 chars
# for Windows XP and upper and 2047 for Windows NT and 2000.
# [vszakats]
MK := "$(subst \,/,$(MAKE))"
RM := del /q /f
RDP := rmdir /q /s

View File

@@ -50,6 +50,10 @@ ARFLAGS := /P64
ifneq ($(HB_SHELL),sh)
# NOTE: Command-line limit length defeating methods found below
# are only needed to support pre-Windows XP systems, where
# limit is 2047 chars. [vszakats]
# NOTE: The empty line directly before 'endef' HAVE TO exist!
define lib_object
@echo -+$(subst /,\,$(file)) ^& >> __lib__.tmp