diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ae4a9fcefb..1f0f31c2b5 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,9 +1,16 @@ +20000416-14:19 GMT+2 Maurilio Longo + + * config/os2/gcc.cf + ! fixed ar rule, in particular added a CLEAR command and used "&" as command separator. + "||" is not a valid one under OS/2. Without CLEAR library is not refreshed if one of the files + which make it are changed. + 20000416-13:05 GMT+1 Ryszard Glab *config/linux/gcc.cf - *fixed to automatically select a proper screen library - - *include/hbapigt.h + *fixed to automatically select a proper screen library + + *include/hbapigt.h *source/rtl/gtapi.c *source/rtl/gt_tpl/gt_tpl.c *source/rtl/gtcrs/gtcrs.c @@ -13,20 +20,20 @@ *source/rtl/gtsln/gtsln.c *source/rtl/gtstd/gtstd.c *source/rtl/gtwin/gtwin.c - *number of bytes required for a given rectangle size is - calculated in the lowest level function - hb_gt_RectSize( rows, cols ) - some screen drivers can - store screen image in more complex method then byte+byte + *number of bytes required for a given rectangle size is + calculated in the lowest level function + hb_gt_RectSize( rows, cols ) - some screen drivers can + store screen image in more complex method then byte+byte *source/rtl/gtcrs/gtcrs.c *full support for scrolling was added *full ASCII character set enabled including box drawing characters (however this don't work under xterm) - *save/restore screen are available + *save/restore screen are available *source/rdd/dbfcdx/dbfcdx1.c - * fixed NULL into 0 for string termination character (NULL in gcc - compiler is defined as a pointer) + * fixed NULL into 0 for string termination character (NULL in gcc + compiler is defined as a pointer) 20000416-12:34 GMT+1 Victor Szakats diff --git a/harbour/config/os2/gcc.cf b/harbour/config/os2/gcc.cf index 65cf50ce33..7680d3bc44 100644 --- a/harbour/config/os2/gcc.cf +++ b/harbour/config/os2/gcc.cf @@ -52,7 +52,10 @@ endef # We have to use a script to overcome the AR limit of max 850 characters # in commmand line +# CLEAR command empties old .a file before creating new one. +# Without it libary is not refreshed if needed define create_library +echo CLEAR $@ > __lib__.tmp echo CREATE $@ > __lib__.tmp $(foreach file, $^, $(lib_object)) echo SAVE >> __lib__.tmp @@ -60,8 +63,11 @@ echo END >> __lib__.tmp $(AR) -M < __lib__.tmp endef +# Under OS/2 || isn't a command separator (inside a shell, that is) +# correct separator is & and del command can delete more than one file +# on a single run AR = ar ARFLAGS = -AR_RULE = $(create_library) || $(RM) $@ +AR_RULE = $(create_library) & $(RM) $@-tmp __lib__.tmp include $(TOP)$(ROOT)config/rules.cf