Maintained by: NLnet Labs

Porting Unbound to MXE

W.C.A. Wijngaards
Mon Jun 27 11:38:41 CEST 2016


Hi Rick,

I think it is correct.  That variable is also set when we are cross
compiling.  Cross-compile is the usual build method for windows binaries.

Best regards, Wouter

On 24/06/16 11:25, Rick van Rein via Unbound-users wrote:
> 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
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20160627/c2a2cbfd/attachment.sig>