diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 7fb95c937c..d0907c6c20 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -211,7 +211,7 @@
$(COMPILER)
- $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(CFG_NAME_PART)$(ARCH_SUFFIX)
+ $(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(CFG_NAME_PART)
$(OBJS)
diff --git a/build/msw/makefile.vc b/build/msw/makefile.vc
index 42d2c0634e..e8fd66a266 100644
--- a/build/msw/makefile.vc
+++ b/build/msw/makefile.vc
@@ -34,7 +34,7 @@ WX_RELEASE_NODOT = 31
WX_VERSION_NODOT = $(WX_RELEASE_NODOT)6
COMPILER_PREFIX = vc
OBJS = \
- $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
+ $(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
LIBDIRNAME = \
..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
SETUPHDIR = \
diff --git a/build/msw/wx_vc8_adv.vcproj b/build/msw/wx_vc8_adv.vcproj
index 39e4b724a9..03dd4104b9 100644
--- a/build/msw/wx_vc8_adv.vcproj
+++ b/build/msw/wx_vc8_adv.vcproj
@@ -381,7 +381,7 @@
@@ -1289,7 +1289,7 @@
>
@@ -1466,7 +1466,7 @@
>
@@ -1554,7 +1554,7 @@
>
diff --git a/build/msw/wx_vc8_core.vcproj b/build/msw/wx_vc8_core.vcproj
index 0b953cfcfa..9e1cc432f5 100644
--- a/build/msw/wx_vc8_core.vcproj
+++ b/build/msw/wx_vc8_core.vcproj
@@ -381,7 +381,7 @@
@@ -1285,7 +1285,7 @@
>
@@ -1462,7 +1462,7 @@
>
@@ -1550,7 +1550,7 @@
>
diff --git a/build/msw/wx_vc9_core.vcproj b/build/msw/wx_vc9_core.vcproj
index 9068588fa0..0fce999ed3 100644
--- a/build/msw/wx_vc9_core.vcproj
+++ b/build/msw/wx_vc9_core.vcproj
@@ -379,7 +379,7 @@
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -486,7 +486,7 @@
/>
@@ -677,7 +677,7 @@
/>
@@ -298,7 +298,7 @@
/>
@@ -471,7 +471,7 @@
/>
@@ -655,7 +655,7 @@
/>
@@ -290,7 +290,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>
@@ -491,7 +491,7 @@
/>
@@ -684,7 +684,7 @@
/>
@@ -476,7 +476,7 @@
/>
@@ -662,7 +662,7 @@
/>