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.
This commit is contained in:
Viktor Szakats
2006-06-27 17:47:43 +00:00
parent b76d9f8dd3
commit 7190ed46b7
2 changed files with 11 additions and 4 deletions

View File

@@ -8,6 +8,14 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
* 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

View File

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