Maintained by: NLnet Labs

Porting Unbound to MXE

W.C.A. Wijngaards
Tue Jun 28 09:05:11 CEST 2016


Hi Rick,

On 27/06/16 23:45, Rick van Rein wrote:
> Wouter,
> 
> Could you give us the command sequence that you use for cross-compiling
> Unbound for Windows?
> 
> We're reverse engineering it from autoconfig stuff now, and that's not a
> lot of fun.

The build code:
$ mingw32-configure --enable-debug --enable-static-exe --disable-flto
... more configure options
$ make
$ zip myunbound.zip unbound.exe unbound-anchor.exe LICENSE ...

You can also compile without the static executables, this is for example
done by the build scripts in dnssec-trigger; (without
--enable-static-exe, but you'll need stuff like openssl.dll).

Best regards, Wouter


> 
> -Rick
> 


-------------- 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/20160628/88f2f326/attachment.sig>