Viktor, > > Try 'os2-make -debug=j' or 'os2-make -d' >
make --dry-run makes it anyway, it is the same issue, this piece of config/os2/gcc.mk # NOTE: The empty line directly before 'endef' HAVE TO exist! define dyn_object $(COMSPEC) /C @$(ECHO) $(ECHOQUOTE)INPUT($(subst \,/,$(file)))$(ECHOQUOTE) >> __dyn__.tmp endef define create_dynlib $(if $(wildcard __dyn__.tmp),@$(RM) __dyn__.tmp,) $(foreach file,$^,$(dyn_object)) $(DY) $(DFLAGS) $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ __dyn__.tmp $(DLIBS) -Wl,--output-def,$(DYN_DIR)/$(basename $@).def,--out-implib,$(IMP_FILE) endef DY_RULE = $(create_dynlib) #DY_RULE = $(foreach file,$^,$(dyn_object)) Works if I add $(COMSPEC) and I use the commented out DY_RULE, at least it says that this is not supported on OS/2 but give no error anymore I think that each define becomes a single big command that it tries to execute calling cmd.exe which fails because the command is too big and/or not correct. I don't know, though, how to split the create_dynlib to call a new cmd.exe for each line it has to handle. Maurilio. > Brgds, > Viktor > > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
