setting CPU_TYPE when cross-compiling from Linux to Windows

Torbjörn Granlund tg at gmplib.org
Sun Dec 29 00:43:36 UTC 2019


Claude Heiland-Allen <claude at mathr.co.uk> writes:

  Notice it uses compiler `gcc` instead of `x86_64-w64-mingw32-gcc`,
  which leads to a build for Linux, not Windows.

Well, you explicitly tell it to use "gcc" which might be why it uses
"gcc".

  Thanks for any advice,

Advice:

1. Please read the GMP documentation.

2. GMP's configuration and build system is not perfectly resilient to
   inconsistent parameters.  You pass lots of parameters, and this is
   not something the manual's build instructions suggested; therefore
   you're on your own.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list