From: sr55 Date: Sun, 5 Aug 2012 16:31:30 +0000 (+0000) Subject: MinGW doc updates X-Git-Tag: 0.9.9~460 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0669692fb71861ba7477a8c69fcabd1e1b212fb;p=handbrake MinGW doc updates git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4892 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- 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