compiler for imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

compiler for imx6

4,228 Views
shani
Contributor I

Hi,

 

On my build platform, I have got two compilers available to build for IMX6.

 

1. Linaro toolchain

VirtualBox:~/COMPILER/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin$ ./arm-linux-gnueabihf-g++ --version

arm-linux-gnueabihf-g++ (Linaro GCC 5.3-2016.02) 5.3.1 20160113

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

2.  The ‘poky’ compiler that was built as part of SDK build when we triggered bitbake of meta-toolchain-qt

VirtualBox:/opt/fsl-imx-wayland/4.1.15-1.2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gn... ./arm-poky-linux-gnueabi-g++ --version

arm-poky-linux-gnueabi-g++ (GCC) 5.2.0

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

So far for all low level drivers we have been using the linaro toolchain. However, when configuring for Qt the instructions seem to suggest that we create and install the SDK and use the compiler that comes in the SDK.

 

What is the preferred compiler to use, especially for building Qt applications for IMX6? Are both equivalent?
 

We would appreciate if you anyone could please clarify this.

 

Thanks

0 Kudos
1 Reply

1,729 Views
joanxie
NXP TechSupport
NXP TechSupport

you can refer to this link,

https://community.nxp.com/thread/309578#510890 

hope helpful for you.

0 Kudos