Results in 64-bit mode using MSVC 2008 (same as 32-bit)
and mingw 4.4.4 20100129 (prerelease):
mingw msvc
C++ 11.63
C 11.08
mingw seems to be the winner here in default
Harbour builds, even though msvc had the advantage
of C++ mode.
Plus, 64-bit mode has a clear advantage over 32-bit.
Sizes:
ming64 C msvc64 C++
harbour-21-x64.dll 3.380.736 3.091.456
harbourmt-21-x64.dll 3.403.264 3.130.880
harbour.exe 625.152 720.384
hbformat-dll.exe 35.840 61.952
hbformat.exe 706.560 524.800
hbi18n-dll.exe 20.480 45.568
hbi18n.exe 684.032 506.880
hbmk2-dll.exe 751.616 847.360
hbmk2.exe 1.462.784 1.342.976
hbpp.exe 133.632 171.520
hbrun-dll.exe 643.072 738.304
hbrun.exe 3.314.688 3.127.808
hbtest-dll.exe 391.168 417.280
hbtest.exe 1.419.776 1.239.552
I will make more tests, but it seems it's
worth switching to mingw also for 64-bit mode.
Last time the problem was weak or none (yet)
3rd party support for mingw64 (f.e. openssl).
Brgds,
Viktor
On 2010 Mar 11, at 09:10, Viktor Szakáts wrote:
> BTW, here is the full result matrix for mingw 4.4.1 and MSVC 2008:
>
> mingw msvc
> C++ 13.57 *13.59
> C *14.27 13.76
>
> (* is default build mode in Harbour)
>
> This means that in C++ mode msvc and mingw are very close,
> in C mode msvc still leads, and in default Harbour builds,
> msvc also leads.
>
> I have to correct mingw size increase results
> (forgot to strip them), so mingw in C++ is about
> 0.3-1.5% larger than C counterpart. In practice,
> it's negligible.
>
> msvc and mingw sizes are a little fuzzy to compare:
> ---
> mingw C++ mingw C msvc C++ msvc C
> harbour-21.dll 3.523.584 3.499.520 2.569.216 2.567.680
> harbourmt-21.dll 3.553.280 3.526.144 2.595.840 2.594.816
> harbour.exe 577.024 568.832 583.168 583.168
> hbformat-dll.exe 26.112 26.112 60.416 60.416
> hbformat.exe 745.984 744.448 462.848 462.848
> hbi18n-dll.exe 11.776 11.776 46.080 46.080
> hbi18n.exe 726.016 724.480 446.464 446.464
> hbmk2-dll.exe 696.320 689.152 704.512 704.512
> hbmk2.exe 1.474.048 1.460.224 1.107.968 1.105.920
> hbpp.exe 133.632 130.560 172.544 172.544
> hbrun-dll.exe 591.872 585.216 600.064 600.064
> hbrun.exe 3.393.536 3.372.032 2.589.184 2.584.576
> hbtest-dll.exe 373.760 374.272 407.552 407.552
> hbtest.exe 1.477.120 1.472.512 1.100.288 1.099.776
> ---
>
> Some binaries are smaller, some others are much
> larger in mingw.
>
> Brgds,
> Viktor
>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour