[Interest] Min gcc compiler version for Qt5.x

Thiago Macieira thiago.macieira at intel.com
Mon Dec 23 13:04:05 CET 2013


On segunda-feira, 23 de dezembro de 2013 09:57:04, Ramakanthreddy Kesireddy 
wrote:
> Hi,
> 
> Please let me know the minimum gcc version to cross compile Qt5.2 on target
> board as we are trying on IMX35 with gcc 4.3 cross compiler provided by
> vendor.

Ideally you should not ask that question. Just use the latest GCC (4.8 at the 
time of this writing). And if you're asking which version is the minimum, it 
stands to reason that you can upgrade. If you can, then just go for the 
latest. There are decent Linux distributions for cross-compilation and 
embedded devices, so you should consider one of them. I recommend taking a 
look at Yocto.

Point in fact: if your toolchain comes with GCC 4.3, it's probably also got a 
very old kernel, a very old glibc and other tools which are probably in need 
of security updates.

PS: for Linux, the recommendation is "at most 3 years old". That would be 4.5 
these days, though I'm sure 4.4 still works. 4.3 has not been tested in 5.x at 
all.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131223/61acf6d6/attachment.sig>


More information about the Interest mailing list