GNOME Bugzilla – Bug 436855
Cache options needed when cross compiling for win32
Last modified: 2008-08-20 12:56:30 UTC
Please describe the problem: For win32 target platforms, using mingw32, the following cache options should be set on configuration time: glib_cv_long_long_format=I64 glib_cv_stack_grows=no This is usually done with a cache file, like explained in this link: http://www.gnome.org/~bratsche/win32/ I wonder if this cache options should be set by default on cross compilation for win32 target. I don't know the details involved I only just copy pasted that but I think it would be convenient to make it just work when a win32 compiler is detected, or at least with ming32. Steps to reproduce: execute the configure script without any options other than --target and --build for cross compiling under linux to win32 with mingw32 Actual results: Expected results: Does this happen every time? Other information:
Created attachment 88714 [details] [review] patch
If this applied, then docs need to be changed too, they provide mingw cache file as an example of a cache file, so docs should use some other platform for an example.
Which docs?
Created attachment 95003 [details] [review] patch New patch, which doesn't try to remove odd warnings (it actually was a mistake, didn't strip the first patch before posting).
*** Bug 517690 has been marked as a duplicate of this bug. ***
Created attachment 106829 [details] [review] Fixes the stack grow parameter for win32 This should do it, I've tested it on both conditions, seems fine to me. Should I commit?
Fixed in trunk by tml