From 01121cf6f77df0147fff49381246e3bc92372499 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 27 Jun 2006 23:35:53 +0000 Subject: [PATCH] 2006-06-28 01:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/mingw32.cf * create LD scripts for W9x --- harbour/ChangeLog | 4 ++++ harbour/config/w32/mingw32.cf | 33 +++++++++++++++++++++++++-------- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 8c65e672cd..57a835847d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -9,6 +9,10 @@ */ + * harbour/source/rtl/gtgui/gtdef.c + * register "GUI" GT as default one by executing + hb_gtSetDefault( "GUI" ) at startup + 2006-06-28 01:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/mingw32.cf * create LD scripts for W9x diff --git a/harbour/config/w32/mingw32.cf b/harbour/config/w32/mingw32.cf index 024319af2e..d28f42cc00 100644 --- a/harbour/config/w32/mingw32.cf +++ b/harbour/config/w32/mingw32.cf @@ -101,15 +101,32 @@ echo. $(file) >> __link__.tmp endef -define link_exe_file -echo. $(LDFLAGS) $(L_USR) $(LD_OUT)$@ > __link__.tmp -$(foreach file, $(LINKPATHS), $(link_file)) -$(foreach file, $(^F), $(link_file)) -echo. -Wl,--start-group >> __link__.tmp +define search_dir +echo. SEARCH_DIR($(file)) >> __link__.tmp + +endef + +ifneq ($(strip $(LDLIBS)),) +define libs_list +echo. GROUP( >> __link__.tmp $(foreach file, $(LDLIBS), $(link_file)) -echo. -Wl,--end-group >> __link__.tmp -$(foreach file, $(SYSLIBS), $(link_file)) --$(LD) __link__.tmp +echo. ) >> __link__.tmp +endef +else +libs_list= +endif + +define link_exe_file +echo. OUTPUT($@) > __link__.tmp +echo. INPUT( >> __link__.tmp +$(foreach file, $(^F), $(link_file)) +echo. ) >> __link__.tmp +$(libs_list) +$(foreach file, $(subst -L,,$(LINKPATHS)), $(search_dir)) +echo. GROUP( >> __link__.tmp +#$(foreach file, $(SYSLIBS), $(link_file)) +echo. ) >> __link__.tmp +-$(LD) $(LDFLAGS) $(L_USR) $(LD_OUT)$@ __link__.tmp endef LDFLAGS = -mno-cygwin