2009-08-11 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/os2/watcom.cf
! fixed FOR command in WINNT->OS2 cross builds. Please test if
it works - I cannot without real Windows cmd.exe
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-08-11 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/config/os2/watcom.cf
|
||||
! fixed FOR command in WINNT->OS2 cross builds. Please test if
|
||||
it works - I cannot without real Windows cmd.exe
|
||||
|
||||
2009-08-11 15:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* config/none.cf
|
||||
* config/lib.cf
|
||||
|
||||
@@ -78,7 +78,9 @@ LDLIBS_COMMA := $(subst $(subst x,x, ),$(comma) ,$(strip $(LDLIBS)))
|
||||
LD_RULE = $(LD) $(LDFLAGS) $(HB_USER_LDFLAGS) NAME $(BIN_DIR)/$@ FILE $(LDFILES_COMMA) $(if $(LDLIBS_COMMA), LIB $(LDLIBS_COMMA),)
|
||||
|
||||
ifeq ($(HB_SHELL),sh)
|
||||
|
||||
create_library = $(AR) $(ARFLAGS) $(HB_USER_AFLAGS) $(LIB_DIR)/$@ $(foreach file,$(^F),-+$(file))
|
||||
|
||||
else
|
||||
# maximum size of command line in OS2 is limited to 1024 characters
|
||||
# the trick with divided 'wordlist' is workaround for it:
|
||||
@@ -88,11 +90,18 @@ else
|
||||
# anyhow OS2 port# of GNU make 3.81 seems to have bug and GPFs when total
|
||||
# commands length is too big so for %i in ( *$(OBJ_EXT) ) do ... below is
|
||||
# ugly workaround for both problems
|
||||
|
||||
ifeq ($(HB_SHELL),nt)
|
||||
FILE := %%f
|
||||
else
|
||||
FILE := %f
|
||||
endif
|
||||
define create_library
|
||||
echo $(LIB_DIR)/$@ > __lib__.tmp
|
||||
for %i in ( *$(OBJ_EXT) ) do @echo -+%i >> __lib__.tmp
|
||||
for $(FILE) in ( *$(OBJ_EXT) ) do @echo -+$(FILE) >> __lib__.tmp
|
||||
$(AR) $(ARFLAGS) $(HB_USER_AFLAGS) @__lib__.tmp
|
||||
endef
|
||||
|
||||
endif
|
||||
|
||||
AR := wlib
|
||||
|
||||
Reference in New Issue
Block a user