summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/texi/Building.mingw.texi7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/texi/Building.mingw.texi b/doc/texi/Building.mingw.texi
index bc89930a2..572940ddb 100644
--- a/doc/texi/Building.mingw.texi
+++ b/doc/texi/Building.mingw.texi
@@ -19,18 +19,21 @@ The following are the recommended specifications for building on @value{OS.mingw
@itemize @bullet
@item Intel 32-bit or 64-bit hardware
-@item @value{OS.mingw}, gcc 4.5
+@item @value{OS.mingw} on Fedora 16, Ubuntu or Debian, gcc 4.5+
@item yasm 1.1.x.x (for i386 or x86_64 architectures)
@end itemize
@include building/prerequisites.bundled.texi
@quotation Note
+You must set the --cross flag with configure to cross compile with windows.
+See the Example below. Note that the cross compiler name varies between distributions.
+
As of this writing, @value{OS.mingw} has available to it several versions of gcc; only one of which may be found and used in the path as @code{gcc} and @code{g++}. Configure will thus find what is probably the older version of gcc in a typical @value{OS.mingw} environment. If you desire to build with the newer gcc, it is found in the path as @command{gcc-4} and @command{g++-4} respectively and you must indicate to configure the desired versions. The following syntax should do the trick:
@end quotation
@example
-../configure --gcc=gcc-4
+../configure --cross=i686-pc-mingw32 --gcc=gcc-4
@end example
@include building/prerequisites.common.texi