[SOLVED] Re: setting CPU_TYPE when cross-compiling from Linux to Windows
nisse at lysator.liu.se
Fri Jan 3 21:39:34 UTC 2020
Claude Heiland-Allen <claude at mathr.co.uk> writes:
> CC_FOR_BUILD is necessary otherwise the configure fails because it
> uses the wrong build system compiler:
> checking build system compiler x86_64-w64-mingw32-gcc... yes
Ah, candidates are
for i in "$CC" "$CC $CFLAGS $CPPFLAGS" cc gcc c89 c99; do
(from acinclude.m4), whether cross compiling or not. In Nettle's
configure I instead do
if test $cross_compiling = no ; then
for i in gcc cc c89 c99; do
Would that make sense for gmp too?
And I've just pushed a change to delete the suggestion to use
TESTS_ENVIRONMENT to run wine.
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
More information about the gmp-bugs