make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make 3.81 MinGW port and testsuite working with MSYS


From: J. Grant
Subject: make 3.81 MinGW port and testsuite working with MSYS
Date: Thu, 24 Feb 2005 21:49:00 +0000
User-agent: Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.5.0; hi) Gecko/20030604

Hello,

I have the MinGW port, and the testsuite working with 3.81 code. I
tested this successfully with autoconf v2.59, automake v1.9.5, gcc 3.2.3
MinGW and MSYS 1.10. Also I checked everything still worked on a native
GNU/Linux build and test.

make-3.81beta2.MinGW.support.patch.bz2 is attached.

Below are the changes I have made, and the changes I transfered from the
3.80 MinGW port.  Please review them for addition.  If you can let me
know when the changes are included in the CVS version that would be
appreciated.

2005-02-24 Jonathan Grant <jg -at- jguk dot org>
        * configure.in: Add MinGW configuration options, and extra w32 code
          directory.

        * Makefile.am: Add MinGW configuration options, and extra w32 code
          directory.

        * main.c: Determine correct program string (after last \ without .exe).

        * subproc/sub_proc.c: `GetExitCodeProcess' from incompatible pointer
          type fix  x2

        * w32/Makefile.am: Import to build win32 lib of sub_proc etc.

        * w32/Makefile.in: Generated by automake so that configure can create
          the Makefile.

        * subproc/w32err.c: MSVC thread directive not applied to MinGW builds.

        * tests/run_make_tests.pl, tests/test_driver.pl: MSYS testing
          environment support.


To use, apply the patch, run autoconf to regenerate configure, then:
./configure
make
make install

rename or remove c:\msys\1.0\bin\make.exe so your new exe is picked up from
c:\msys\1.0\local\bin\make.exe

25 tests are failing at present with MinGW build

21 tests failing at present with MSVC build

Some of the testsuite failed because of the way MSYS shell works i
believe, and because of the make program name including the directories.
I will investigate fixing these shortly.

The reason make.exe was getting deleted by the script at the end of each
test was because $pure_log contained "c:\msys\1.0\local\bin\make.exe"
and was being unlinked because $code did not match.  I revised the
script so it does not delete the "log" on MinGW/MSYS test runs for the
moment.

Kind regards
JG

Attachment: make-3.81beta2.MinGW.support.patch.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]