Update Windows build instructions
authorSam Thursfield <samthursfield@codethink.co.uk>
Tue, 12 Jul 2011 10:24:21 +0000 (11:24 +0100)
committerSam Thursfield <samthursfield@codethink.co.uk>
Tue, 12 Jul 2011 10:24:21 +0000 (11:24 +0100)
README.windows
windows/jhbuildrc

index ff5af82..7c066d0 100644 (file)
@@ -8,16 +8,16 @@ I recommend you set up a build environment according to the following page:
 However, use the configuration file in the source tree at ./windows/jhbuildrc
 instead of creating a new one. You can tell jhbuild to use that file by running
 
-  jhbuild -f jhbuildrc <...>
+  jhbuild -f ./windows/jhbuildrc <...>
 
-You will also need to install the following extras:
+You will also need to install the following tools:
 
   * MS Windows Platform SDK v7.0 and .NET framework 3.5:
 
       https://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en
 
-    You need the 'Win32 Developer Tools' component for MIDL.EXE, the rest are
-    not important.
+    You need the 'Win32 Developer Tools' component for MIDL.EXE, and 'Visual C compilers'
+    to LIB.EXE. The rest are not important.
 
   * Windows Installer XML 3.5:
 
@@ -27,11 +27,11 @@ You will also need to install the following extras:
 
      http://www.imagemagick.org/download/binaries/ImageMagick-6.6.9-10-Q16-windows-dll.exe
 
-I suggest you put all these things in their default locationsthe installers
-seem to mostly ignore attempts to install them in other places.
+I suggest you put all these things in their default locations (the installers
+will sometimes ignore attempts to install them in other places).
 
 You currently also need a patched version of the w32api mingw package, to
-expose some RPC functions. This is on the mingw issue tracker here:
+expose some RPC functions. This issue is on the mingw issue tracker here:
 
   https://sourceforge.net/tracker/?func=detail&aid=3302807&group_id=2435&atid=302435
 
index 0722eeb..87ffef7 100644 (file)
@@ -8,7 +8,11 @@ use_local_modulesets = True
 moduleset = 'windows-stable'
 modules = [ 'gtk+', 'vala', 'gnome-icon-theme', 'gnome-icon-theme-symbolic' ]
 
-os.environ['CFLAGS'] = "-O3 -mms-bitfields"
+# Maintainer mode (automatically rerunning autoconf, automake etc. when the
+# build scripts are changed) is broken on Windows
+autogenargs = '--disable-maintainer-mode'
+
+os.environ['CFLAGS'] = "-O3 -fno-unit-at-a-time -mms-bitfields"
 
 # Avoid "The application could not be started (0xc00000005)" errors with gcc4
 os.environ['LDFLAGS'] = "-Wl,--enable-auto-import"