r22198 - gnucash/branches/2.4/packaging/win32 - [22197]Add EXTRA_CFLAGS for compiling on Win7

John Ralls jralls at code.gnucash.org
Mon May 21 18:12:32 EDT 2012


Author: jralls
Date: 2012-05-21 18:12:32 -0400 (Mon, 21 May 2012)
New Revision: 22198
Trac: http://svn.gnucash.org/trac/changeset/22198

Modified:
   gnucash/branches/2.4/packaging/win32/custom.sh.sample
Log:
[22197]Add EXTRA_CFLAGS for compiling on Win7


Configure gets confused by some gcc builtins on Win7: Disable them so that configure finds the right settings.


Modified: gnucash/branches/2.4/packaging/win32/custom.sh.sample
===================================================================
--- gnucash/branches/2.4/packaging/win32/custom.sh.sample	2012-05-21 22:10:00 UTC (rev 22197)
+++ gnucash/branches/2.4/packaging/win32/custom.sh.sample	2012-05-21 22:12:32 UTC (rev 22198)
@@ -17,3 +17,5 @@
 # function greetings() { setup Greetings; }
 # QTDIR=c:\\Qt\\4.2.3
 # CROSS_COMPILE=yes
+#Uncomment this for building on Win7 (and maybe Vista):
+#EXTRA_CFLAGS="-fno-builtin-dgettext -fno-builtin-towupper -fno-builtin-iswlower
\ No newline at end of file



More information about the gnucash-changes mailing list