On cygwin, these programs fails because they lack __wargv definition. So adding -mno-cygwin flag tell winegcc to link them with msvcrt instead of libc
Alexandre Goujon
ale.goujon at gmail.com
Sat Mar 13 14:45:54 CST 2010
---
programs/cmd/Makefile.in | 2 +-
programs/dxdiag/Makefile.in | 2 +-
programs/explorer/Makefile.in | 2 +-
programs/extrac32/Makefile.in | 2 +-
programs/mshta/Makefile.in | 2 +-
programs/reg/Makefile.in | 2 +-
programs/start/Makefile.in | 2 +-
programs/svchost/Makefile.in | 2 +-
programs/termsv/Makefile.in | 2 +-
programs/uninstaller/Makefile.in | 2 +-
programs/winebrowser/Makefile.in | 2 +-
programs/winedevice/Makefile.in | 2 +-
programs/winepath/Makefile.in | 2 +-
13 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/programs/cmd/Makefile.in b/programs/cmd/Makefile.in
index 7f13b52..08e58bc 100644
--- a/programs/cmd/Makefile.in
+++ b/programs/cmd/Makefile.in
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = cmd.exe
-APPMODE = -mconsole -municode
+APPMODE = -mconsole -municode -mno-cygwin
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = shell32 user32 advapi32 kernel32
diff --git a/programs/dxdiag/Makefile.in b/programs/dxdiag/Makefile.in
index a8dd0d9..f7de21c 100644
--- a/programs/dxdiag/Makefile.in
+++ b/programs/dxdiag/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dxdiag.exe
-APPMODE = -mwindows -municode
+APPMODE = -mwindows -municode -mno-cygwin
IMPORTS = kernel32
C_SRCS = \
diff --git a/programs/explorer/Makefile.in b/programs/explorer/Makefile.in
index ceb80a9..0e61c5e 100644
--- a/programs/explorer/Makefile.in
+++ b/programs/explorer/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = explorer.exe
-APPMODE = -mwindows -municode
+APPMODE = -mwindows -municode -mno-cygwin
IMPORTS = rpcrt4 user32 gdi32 advapi32 kernel32 ntdll
DELAYIMPORTS = comctl32
diff --git a/programs/extrac32/Makefile.in b/programs/extrac32/Makefile.in
index 3ee70a9..de16f29 100644
--- a/programs/extrac32/Makefile.in
+++ b/programs/extrac32/Makefile.in
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = extrac32.exe
-APPMODE = -mwindows -municode
+APPMODE = -mwindows -municode -mno-cygwin
EXTRADEFS = -DWINE_NO_UNICODE
IMPORTS = shell32 setupapi shlwapi user32 kernel32
diff --git a/programs/mshta/Makefile.in b/programs/mshta/Makefile.in
index 2e5ee54..326f51a 100644
--- a/programs/mshta/Makefile.in
+++ b/programs/mshta/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = mshta.exe
-APPMODE = -mwindows -municode
+APPMODE = -mwindows -municode -mno-cygwin
IMPORTS = kernel32
C_SRCS = \
diff --git a/programs/reg/Makefile.in b/programs/reg/Makefile.in
index 485f2e3..113186d 100644
--- a/programs/reg/Makefile.in
+++ b/programs/reg/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = reg.exe
-APPMODE = -mconsole -municode
+APPMODE = -mconsole -municode -mno-cygwin
IMPORTS = advapi32 kernel32
DELAYIMPORTS = user32
diff --git a/programs/start/Makefile.in b/programs/start/Makefile.in
index 66a05e8..137e69b 100644
--- a/programs/start/Makefile.in
+++ b/programs/start/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = start.exe
-APPMODE = -mconsole -municode
+APPMODE = -mconsole -municode -mno-cygwin
IMPORTS = shell32 user32 kernel32
C_SRCS = start.c
diff --git a/programs/svchost/Makefile.in b/programs/svchost/Makefile.in
index 5cf6174..5129548 100644
--- a/programs/svchost/Makefile.in
+++ b/programs/svchost/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = svchost.exe
-APPMODE = -municode
+APPMODE = -municode -mno-cygwin
IMPORTS = advapi32 kernel32
C_SRCS = \
diff --git a/programs/termsv/Makefile.in b/programs/termsv/Makefile.in
index 559a72e..b1fafa6 100644
--- a/programs/termsv/Makefile.in
+++ b/programs/termsv/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = termsv.exe
-APPMODE = -mconsole -municode
+APPMODE = -mconsole -municode -mno-cygwin
IMPORTS = advapi32 kernel32
C_SRCS = \
diff --git a/programs/uninstaller/Makefile.in b/programs/uninstaller/Makefile.in
index adba2cc..4ddf574 100644
--- a/programs/uninstaller/Makefile.in
+++ b/programs/uninstaller/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = uninstaller.exe
-APPMODE = -mconsole -municode
+APPMODE = -mconsole -municode -mno-cygwin
IMPORTS = advapi32 kernel32
DELAYIMPORTS = shlwapi shell32 user32 gdi32
diff --git a/programs/winebrowser/Makefile.in b/programs/winebrowser/Makefile.in
index 4b2b69e..da919ff 100644
--- a/programs/winebrowser/Makefile.in
+++ b/programs/winebrowser/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = winebrowser.exe
-APPMODE = -mwindows -municode
+APPMODE = -mwindows -municode -mno-cygwin
IMPORTS = shlwapi user32 advapi32 kernel32
C_SRCS = \
diff --git a/programs/winedevice/Makefile.in b/programs/winedevice/Makefile.in
index c644b7a..35dbebe 100644
--- a/programs/winedevice/Makefile.in
+++ b/programs/winedevice/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = winedevice.exe
-APPMODE = -mwindows -municode
+APPMODE = -mwindows -municode -mno-cygwin
IMPORTS = advapi32 ntoskrnl.exe kernel32 ntdll
C_SRCS = \
diff --git a/programs/winepath/Makefile.in b/programs/winepath/Makefile.in
index 1ced54e..741abe1 100644
--- a/programs/winepath/Makefile.in
+++ b/programs/winepath/Makefile.in
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = winepath.exe
-APPMODE = -mconsole -municode
+APPMODE = -mconsole -municode -mno-cygwin
IMPORTS = kernel32
C_SRCS = winepath.c
--
1.6.3.3
More information about the wine-patches
mailing list