From 7190ed46b7e91a78de7c22bda14cf408cc441da7 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 27 Jun 2006 17:47:43 +0000 Subject: [PATCH] 2006-06-27 19:45 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/config/w32/mingw32.cf ! Fix to make it work in environments where "gcc @__lib__.tmp" construct is not possible. The "@" expansion is done by gcc when using Cygwin, but it's not done (and left to the shell, which doesn't do it either when using CMD/COMMAND) when using plain MinGW. --- harbour/ChangeLog | 8 ++++++++ harbour/config/w32/mingw32.cf | 7 +++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1e614f8c2b..11322c0c29 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,14 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ + + * harbour/config/w32/mingw32.cf + ! Fix to make it work in environments where "gcc @__lib__.tmp" + construct is not possible. The "@" expansion is done by gcc + when using Cygwin, but it's not done (and left to the shell, + which doesn't do it either when using CMD/COMMAND) when using + * harbour/config/w32/mingw32.cf + ! Fix to make it work in environments where "gcc @__lib__.tmp" construct is not possible. The "@" expansion is done by gcc when using Cygwin, but it's not done (and left to the shell, which doesn't do it either when using CMD/COMMAND) when using diff --git a/harbour/config/w32/mingw32.cf b/harbour/config/w32/mingw32.cf index aa80a5e23e..62451208d8 100644 --- a/harbour/config/w32/mingw32.cf +++ b/harbour/config/w32/mingw32.cf @@ -110,11 +110,10 @@ echo. $(file) >> __link__.tmp endef define link_exe_file -echo. $(LDFLAGS) $(L_USR) $(LD_OUT)$@ > __link__.tmp +echo. INPUT( >> __link__.tmp $(foreach file, $(^F), $(link_file)) -$(foreach file, $(LINKPATHS), $(link_file)) -$(foreach file, $(LINKLIBS), $(link_file)) --$(LD) @__link__.tmp +echo. ) >> __link__.tmp +-$(LD) $(LDFLAGS) $(L_USR) $(LD_OUT)$@ __link__.tmp $(foreach item, $(LINKPATHS), $(item)) $(foreach item, $(LINKLIBS), $(item)) endef LDFLAGS = $(LINKPATHS) -mno-cygwin