views:

14

answers:

0

Compiling the source code for Fossil on Windows XP SP3, along with OpenSSL v1.0.0a for HTTPS support, results in a 2618KB EXE file. I am using GCC v4.5.1 from nuwen.net's MinGW distro. If I run "strip -s fossil.exe" the size goes down to 2177KB.

What's odd is if I compile the same Fossil source on a Windows 7 box, I get a 2397KB EXE file instead, which goes down to 1964KB after being stripped.

Both XP and Win7 boxes are using the same MinGW distro v6.6 (and MSYS shell) from nuwen.net.

Here's what I have done:

  • I've removed the present MinGW distro on my XP box and made another fresh installation. It's packaged in a self-extracting archive so there's not really much to do. Same result.
  • I've re-configured the OpenSSL source for mingw using "perl Configure mingw no-asm no-shared" as instructed here. Rebuilt the libcrypto.a and libssl.a files for Fossil to be compiled with HTTPS support. Same result.
  • Compiling the Fossil source without HTTPS support (i.e, without OpenSSL) results in the same file size in both XP and 7, which is why I initially suspected it was the OpenSSL build I made.

Before I send an email to the Fossil mailing list, I thought I'd ask you folks first if I'm missing anything at all.

Thanks in advance!