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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user