2006-06-28 01:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/config/w32/mingw32.cf
    * create LD scripts for W9x
This commit is contained in:
Przemyslaw Czerpak
2006-06-27 23:35:53 +00:00
parent 57241721b9
commit 01121cf6f7
2 changed files with 29 additions and 8 deletions

View File

@@ -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

View File

@@ -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