Skip to content

Fix and re-enable mingw build #122

Closed

Description

@jrosdahl

I disabled the i586-mingw32msvc build in ddf5ca4 since GCC 4.2 apparently is too old for proper C99 support, which is required since e527ccc.

@itensionanders: Since you have been working on the mingw build before, do you have any ideas on what would be the best approach? Would it be possible to go back to using gcc-mingw-w64-i686? Or should we make some ugly workaround like (if possible) ignoring the specific error?

Activity

  1. added
    issue: task
    os: windows
    on Jul 23, 2016
  2. added this to the 3.3 milestone on Jul 23, 2016
  3. afbjorklund commented on Jul 30, 2016

    @afbjorklund
    Contributor

    We can require MinGW-w64, it is not the default on (non-beta) Travis but the old MinGW is horribly broken in other ways (as seen in #119). We probably also need some real Windows tests (#69), if we want that OS to be a supported platform ? So I can go with either disabling MinGW or requiring newer "stuff". But having native Windows support is not important to me personally. Supporting Linux/Unix is OK. I used MSYS anyway...

  4. jrosdahl commented on Jul 30, 2016

    @jrosdahl
    MemberAuthor

    I have no personal interest in Windows support either, so let's keep it disabled then until somebody who cares enough shows up. :-)

  5. afbjorklund commented on Jul 30, 2016

    @afbjorklund
    Contributor

    Note that I don't have any objections to keeping the code compiling with MinGW in the name if portability - that should be doable, possibly after upgrading due to the new GCC requirements...

    The problem is keeping the "quicktest" and "test" running, on a foreign system like Windows ? That would probably need "real" Windows (not Wine) and a maintainer plus something like Appveyor

  6. afbjorklund commented on Jul 30, 2016

    @afbjorklund
    Contributor

    @jrosdahl : but if you just want the tests running again, you can look at ec41946 (mingw-w64)

  7. removed this from the 3.3 milestone on Aug 21, 2016
  8. afbjorklund commented on Apr 2, 2017

    @afbjorklund
    Contributor

    The latest changes in #119 will make the MinGW build run again, using the Travis VM infrastructure...
    So it will run MinGW twice as slow as the other container-based builds, but still half the time of ASAN.

    The tests pass on Linux, but there's still work to do to make them pass on Windows.
    There's some compatibility with e.g. symlinks, that needs fixing for MSYS2/Cygwin.

    Will adress those problems separately (Windows run-time support)

    This one would be possible to fix now (Windows compile-time support)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: taskos: windows

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions