[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Document Crosstest
From:       Hans Leidekker <hans () it ! vu ! nl>
Date:       2004-02-25 10:23:51
Message-ID: 200402251123.51915.hans () it ! vu ! nl
[Download RAW message or body]

On Tuesday 24 February 2004 17:51, Uwe Bonnes wrote:

> http://www.winehq.com/site/docs/wine-devel/testing-windows
> 4.5.3. With MinGW
> 
> should read:
> 
> Have mingw installed. For an RPM package look e.g. at
> http://mirzam.it.vu.nl/mingw/
> 
> Run "make crosstest". Run test like "wine -- msvcrt_crosstest.exe scanf.c" on
> wine or "msvcrt_crosstest.exe scanf.c" on windows

Here's a patch.

 -Hans

Changelog:
  document building tests with MinGW.


["documentation_testing_sgml.diff" (text/x-diff)]

Index: documentation/testing.sgml
===================================================================
RCS file: /home/wine/wine/documentation/testing.sgml,v
retrieving revision 1.12
diff -u -r1.12 testing.sgml
--- documentation/testing.sgml	7 Feb 2004 01:29:06 -0000	1.12
+++ documentation/testing.sgml	25 Feb 2004 09:40:00 -0000
@@ -178,10 +178,8 @@
       <sect2>
         <title>Setup of the MinGW cross-compiling environment</title>
         <para>
-          The most daunting problem while trying to cross-compile the Wine
-          tests is the setup of the MinGW cross-compiling environment. Here
-          are some instructions for different Linux distributions and *BSD
-          systems to help with this problem.
+          Here are some instructions to setup MinGW on different Linux 
+          distributions and *BSD.
         </para>
         <sect3>
           <title>Debian GNU/Linux</title>
@@ -197,26 +195,12 @@
             most probably SuSE Linux too, etc. But this list isn't exhaustive;
             the following steps should probably work on any rpm based system.
           </para>
-          <itemizedlist>
-            <listitem><para>
-              Download the mingw-binutils  and mingw-gcc  srpm's from
-              <ulink url="http://ftp.redhat.com/pub/contrib/libc6/SRPMS/">
-              http://ftp.redhat.com/pub/contrib/libc6/SRPMS/</ulink>.
-            </para></listitem>
-            <listitem><para>
-              Download the mingw srpm from
-              <ulink url="http://ftp.redhat.com/pub/contrib/libc6/noarch/SRPMS/">
-              http://ftp.redhat.com/pub/contrib/libc6/noarch/SRPMS/</ulink>.
-            </para></listitem>
-            <listitem><para>
-              Build the mingw and mingw-binutils rpm's (<command>rpmbuild
-              --rebuild $SRPM</>) and install them.
-            </para></listitem>
-            <listitem><para>
-              After the above step you can build the mingw-gcc rpm too.
-              Install it.
-            </para></listitem>
-          </itemizedlist>
+          <para>
+            Download and install the latest rpm's from 
+            <ulink url="http://mirzam.it.vu.nl/mingw/">MinGW RPM packages</>.
+            Alternatively you can follow the instructions on that page and
+            build your own packages from the source rpm's listed there as well.
+          </para>
         </sect3>
         <sect3>
           <title>*BSD</title>
@@ -325,9 +309,12 @@
       <sect2>
         <title>With MinGW</title>
         <para>
-          This needs to be documented. The best may be to ask on the Wine
-          development mailing list and update this documentation with the
-          result of your inquiry.
+         Wine's build system already has support for building tests with a MinGW
+         cross-compiler. See the section above called 'Setup of the MinGW 
+         cross-compiling environment' for instructions on how to set things up.
+         When you have a MinGW environment installed all you need to do is rerun
+         configure and it should detect the MinGW compiler and tools. Then run 
+         'make crosstest' to start building the tests.
         </para>
       </sect2>
     </sect1>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic