2012/5/11 MARTIN Pierre <[email protected]>

> Dear Ruben, dear list readers,
>
> I suggest using a native MinGW-w64 toolchain to build Qt. Qt does not
>> support cross-compiling (just look at the OpenSuse or Fedora mingw-w64 Qt
>> package build scripts: they patch the hell out of Qt's build
>> infrastructure).
>>
>> Ah! But i *am* using a native MinGW-w64 toolchain when using the
>> automated build, no?
>>
> No, that's an oddity of the automated builds that they're always built as
> a cross-compiler for some reason unknown to me. You can tell by the absence
> of a plain (unprefixed) gcc.exe. in the "bin" directory.
>
> Ah! i wasn't aware of this fact, and the later is a very good trick to
> know wether the build is native or not, and this might have a "sticky" on
> the MinGW general explanations. i will keep that in mind.
>
> Also, note the eMail i have just sent to the list in answer to Kai, when
>> using SeZero's MinGW build (For compiling to / from 32 bit on MSys), it
>> seems to work. Why?
>>
> This is a native build.
>
> i understand now. Thanks for explaining.
>
> Following what Ruben just told me, i have another question. i have just
> discovered the TDM-GCC packaging. It is very sexy, as it offers
> pre-packaged binary online / offline installers.
> However:
> - Whatever mirror is selected, the *"Show Details" buttons is not active*,
> making the process opaque. But that's okay.
> - When using the *Europe -> France -> Free mirror*, the package 
> *make-3.82-mingw32-bin.tar.lzma
> cannot be found on the server* (404 type error). Is Dragon part of this
> list, or is it another project mailing list i shall subscribe to to report
> the problems i encounter?
> - After installing from anonther mirror, i can see that in my installation
> folder, only g++.exe exists, no "xxx-yyy-zzz-g++.exe" and friends exist,
> only plain "g++.exe" and friends. *Does Ruben's rule applies*, and does
> that mean that the toolchain i just have installed is native?
>

Yes, TDM's toolchain is a native build. but please don't use it, it's old
(by now) and as you can see has installation problems


>
> *A last question* from my global confusion: what would be the recommended
> way of getting this so called "native" toolchain? On Ruben's version? TDM's
> version? SeZero's version? This is quite confusing :)
>

I understand the confusion, but have not found a way to alleviate the
associated stress it induces in new users.

I currently recommend using my "release" builds, as these are based on
official GCC releases, paired with the official MinGW-w64 release (2.0.3 as
of now). MinGW-w64 does not currently provide an "official" build, but
these are as close as you can get right now.
64-bit<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/release>and
32-bit<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/release>targets
are catered for. I also built a Win32 to Win64 cross-compiler.
To use them, just unzip the package with something like 7-zip, and add the
mingw32/bin or mingw64/bin directory to PATH.
I regularly build Qt with this to check if all is still ok ;-).
Remember to add the -qt-style-windows* options when you call Qt's configure
or you'll get ugly Windows 95 style GUI's for all you Qt programs.

Ruben


> Thank you,
> Pierre.
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to