On Thu, 30 Jul 2009, David Arturo Macias Corona wrote: Hi,
> >Try to replace: > > LD_RULE = $(link_exe_file) $(HB_USER_LDFLAGS) > >with: > > empty:= > > space:= $(empty) $(empty) > > comma:= , > > LDFILES = $(subst $(space),$(comma) ,$(^F)) > > LDLIBS = $(subst $(space),$(comma) ,$(strip $(LINKLIBS) $(RDDLIBS) > > $(GTLIBS))) > > LD_RULE = $(LD) $(LDFLAGS) $(HB_USER_LDFLAGS) NAME $(EXE_DIR)/$@ FILE > > $(LDFILES) > > ifneq ($(LDLIBS),) > > LD_RULE += LIB $(LDLIBS) > > endif > >It should help. > It work fine > Now Harbour build / run with OpenWatcom 1.8 > 50 .lib files, same number as gcc .a files > I think you will add your two changes to os2\watcom.cf > Below are all warnings raised with OpenWatcom, selected from 3001 lines of > make_ow.log > > Building hbpp.exe: > Warning! Duplicate symbol 'hb_pp_initRules_' ignored. > Warning! Duplicate symbol 'hb_pp_tokenGet_' ignored. > Warning! Duplicate symbol 'hb_pp_new_' ignored. > Warning! Duplicate symbol 'hb_pp_free_' ignored. > Warning! Duplicate symbol 'hb_pp_init_' ignored. [...] This looks like side effect caused by results of some previous builds. It's possible that if you clean all files left by previous builds then above warnings disappear. If it will not help then I would like to see whole log file created for 'pp' directory. Thank you very much for your tests. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour