Skip to content
Snippets Groups Projects

Updated config.guess for building under MSYS2

Merged JHammler requested to merge JHammler/x264:master into master
All threads resolved!

An updated tweak to the distributed ./config.guess script is required for the project to build under MSYS2 (MinGW 64-bit).

Should not affect GPLv2 license.

Edited by JHammler

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Contributor

    Before

    JHammler@DM-ENG-690 MSYS /d/x264
    $ ./configure
    ./config.guess: unable to guess system type

    This script, last modified 2012-09-25, has failed to recognize
    the operating system you are using. It is advised that you
    download the most up to date version of the config scripts from

    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
    and
    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

    If the version you run (./config.guess) is already up to date, please
    send the following data and any information you think might be
    pertinent to config-patches@gnu.org in order to provide the needed
    information to handle your system.

    config.guess timestamp = 2012-09-25

    uname -m = x86_64
    uname -r = 3.0.7-338.x86_64
    uname -s = MSYS_NT-10.0-18362
    uname -v = 2019-07-11 10:58 UTC

    /usr/bin/uname -p = unknown
    /bin/uname -X =

    hostinfo =
    /bin/universe =
    /usr/bin/arch -k =
    /bin/arch = x86_64
    /usr/bin/oslevel =
    /usr/convex/getsysinfo =

    UNAME_MACHINE = x86_64
    UNAME_RELEASE = 3.0.7-338.x86_64
    UNAME_SYSTEM = MSYS_NT-10.0-18362
    UNAME_VERSION = 2019-07-11 10:58 UTC
    config.sub: missing argument
    Try `config.sub --help' for more information.
    Unknown system , edit the configure

    After

    JHammler@DM-ENG-690 MSYS /d/x264
    $ ./configure
    platform: X86_64
    byte order: little-endian
    system: WINDOWS
    cli: yes
    libx264: internal
    shared: no
    static: no
    asm: yes
    interlaced: yes
    avs: avisynth
    lavf: no
    ffms: no
    mp4: no
    gpl: yes
    thread: win32
    opencl: yes
    filters: crop select_every
    lto: no
    debug: no
    gprof: no
    strip: no
    PIC: no
    bit depth: all
    chroma format: all

    You can run 'make' or 'make fprofiled' now.

  • JHammler changed the description

    changed the description

    • Resolved by JHammler

      Need to be rebased. Also you should add support to configure for $host_os = msys* to be able compile with Intel Compiler or Microsoft Visual Studio under MSYS2. i.e.

       QPRE="-"
      -if [[ $host_os = mingw* || $host_os = cygwin* ]]; then
      +if [[ $host_os = mingw* || $host_os = msys* || $host_os = cygwin* ]]; then
           if [[ "$cc_base" = icl || "$cc_base" = icl[\ .]* ]]; then

      Also allow pushing to your branch in merge request so we can rebase it ourselves.

      Edited by Anton Mitrofanov
  • JHammler added 17 commits

    added 17 commits

    Compare with previous version

  • JHammler resolved all threads

    resolved all threads

  • mentioned in commit JHammler/x264@2f88afca

  • JHammler added 1 commit

    added 1 commit

    Compare with previous version

  • JHammler resolved all threads

    resolved all threads

Please register or sign in to reply
Loading