Porting Unbound to MXE

Rick van Rein rick at openfortress.nl
Fri Jun 24 09:25:04 UTC 2016


Hello,

Should this in configure.ac...

> # are we on MinGW?
> if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
> else  
>         if echo $target | grep mingw32 >/dev/null; then on_mingw="yes"
>         else on_mingw="no"; fi
> fi

...have been...

> # are we on MinGW?
> if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
> else  
>         if echo $host | grep mingw32 >/dev/null; then on_mingw="yes"
>         else on_mingw="no"; fi
> fi

...since you are not building a cross-compiler?


That's according to

--host: In which system the generated program will run.
--build: In which system the program will be built.
--target: this option is only used to build a cross-compiling toolchain.
When the tool chain generates executable program, in which target system
the program will run.

on
http://jingfenghanmax.blogspot.nl/2010/09/configure-with-host-target-and-build.html


Cheers,
Rick & Henri



More information about the Unbound-users mailing list