Skip to content

crosscompile-mingw-tedious Dependency: GMP #3

@minipc

Description

@minipc

Following the tedious steps to cross-compile on a Windows8.1 64 hosted Ubuntu 19.04 amd64 VMware Workstation 15 Player virtual machine, I have run into a problem with the GMP dependency compilation, both 32bit and 64bit, lines 3613 - 3635.

The 32bit configure statement, lines 3618-3621 terminates as follows
checking for build system executable suffix... configure: error: Cannot determine executable suffix
and the make statement, line 3622, generates the following error

make[2]: Entering directory '/home/user/mpv-build-deps/gmp-6.1.2/gmp-build/i686/mpn'
  CC       fib_table.lo
cc1: error: CPU you selected does not support x86-64 instruction set
make[2]: *** [Makefile:492: fib_table.lo] Error 1

The filepaths on lines 3629 and 3631 of the 64bit instructions both produce No such file or directory errors.

I can see how to fix the filepath errors. But I am too new to cross-compilation to be sure how to fix the former issues, though my guess would be that there's something wrong with the 32bit -L, --prefix and possibly --build declarations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions