[squid-dev] MinGW build of Squid-3.5

Amos Jeffries squid3 at treenet.co.nz
Thu Oct 2 18:06:52 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

FINALLY!!

As of trunk rev.13623 the last of the build issues in the default
feature set are resolved. Many of the helpers and features
self-disable now, but we get through the full build cycle and end up
with binaries.

Guido,
 can you check up on the Windows native MinGW build node please?

Also, any hints on getting MinGW compiled binaries to run on Windows?

 So far testing with a built helloworld.exe I just get it returning to
command line with no output. Similar to what happens on *nix systems
during a segfault.

Amos

On 30/09/2014 8:32 p.m., Amos Jeffries wrote:
> 
> If anyone is interested, here is how to build Squid-3.HEAD using
> the Debian MinGW cross-compiler.
> 
> There are a lot of bugs in the stable branches making it not worth 
> trying there. But 3.HEAD/trunk has been cleaned up so that it only 
> needs the below ./configure options with a minimum of fancy
> extras.
> 
<snip>
> 
> # Debian Packages Required: # # mingw-w64 #       provides GCC
> cross-compiler. GCC 4.9.1 or later required. # # mingw-w64-tools #
> provides pkg-config and other build-time tools used by autoconf #
> 
> # Build:
> 
> cd tpl/ ../configure \ --host=i686-w64-mingw32 \ 
> CXXFLAGS="-DWINVER=0x601 -D_WIN32_WINNT=0x601" \ 
> CFLAGS="-DWINVER=0x601 -D_WIN32_WINNT=0x601" \ BUILDCXX="g++" \ 
> BUILDCXXFLAGS="-DFOO" \ --enable-build-info="Windows (MinGW
> cross-build)"
> 
> make
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJULZQ8AAoJELJo5wb/XPRj9XYH/048IuBa46yCPpLXDa4chYBh
L2qgF7mH/zjlt6wTCec3POY76Zm/mUAS7MBmnRwUfXiT8tmOdaoXOT8yxxlam9ou
0wHIcVTxySYnYHIZkENL/AkbKYy81JxvWXBQ3jmMeqzY7hAwiw+14aiPb71sP6XB
BhKNxcYbOCN5W5sLYrQPFXLquer5Lrk+PaoR+6v0GM+J/7Nub0GBcUwwvNZijMF9
b/3y3BU7ePXA2hYD/5dh9u5ShqRE0jvD8nq2fz+t5bAWY5i9LE9P9V6DBWGPlqyE
cKE1bJCnzlJXEIM08H9CkwnjMAXxyYiBKqJ1QZDIu31BbCn6Hv6NA1DzHUs02KQ=
=ljYV
-----END PGP SIGNATURE-----


More information about the squid-dev mailing list