Hi,

>> 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.
> 
> Finally I installed for tests GCC 4.5 (devel version)
> and in C++ mode with -flto it gives also better results
> then in C mode so it's potentially the fastest code.
> I have to say that I vary like how the meta code is
> implemented. Unlike other compilers GCC can be used
> with LTO without any complicated settings and programmer
> can easy control if he wants or not link time optimization
> using one link time switch.

Sounds good, I will try 4.5.0 a bit later.

>> Plus, 64-bit mode has a clear advantage over 32-bit.
> 
> I have similar results in Linux.
> 64bit Harbour programs are faster then 32bit ones.
> 
>> I will make more tests, but it seems it's 
>> worth switching to mingw also for 64-bit mode.
> 
> The very strong thing in GCC is really good performance
> for different hardware. The optimization logic is not
> hardcoded to one processor family so it can be easy adopt
> to completely different CPUs. Anyhow I do not know what
> it the quality of Win64 GCC ports so here you will have
> to took the decision yourself. It's quite new port anyhow
> I think that in short time it should be very stable and
> efficient. 64big GCC ports for different *nixes have been
> existing for _very_ long time.

With some time investment I could build everything 
required for my local application using mingw64. 
In fact mingw support is starting to overtake the 
MSVC level for 3rd party libs, though there are still 
bugs in mingw Windows headers which have to be dealt 
with.

The only so far known problem is ignored -mwindows 
option when using mingw64 4.4.4, so app doesn't 
pop with GTWVT, with GTWIN it runs beautifully. 
I'm not sure if the problem is with Harbour or 
mingw64.

Binary size is just a bit larger than mingw 32-bit 
build (and still larger than msvc64).

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to