We need a compiler that supports std=C++11.

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

We need a compiler that supports std=C++11.

697 Views
kilsoo_choi
Contributor I

Hello


We are developing using the IMX.6 quad.
During software development
Protobuf needs to be cross-compiled and the "-std=c++11" build option is required.
However, our compiler (fsl-linaro-toolchain Ver:4.6.2)
"-std=c++11" is not supported, so the build will not work.
I need a higher version of the compiler, do you support it?

Thank you.

Labels (2)
0 Kudos
Reply
1 Reply

681 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello kilsoo,

In order to export higher version of toolchain, you should follow these steps.

For example, assume you are using L4.19.35_1.1.0 BSP

1. Download documents for the version of linux BSP

Embedded Linux for i.MX Applications Processors | NXP 

pastedImage_2.png

2. Setup environment of Yocto BSP

Follow steps in i.MX_Yocto_Project_User's_Guide.pdf to set up environment of Yocto BSP, and compile it successfully.

3. export the toolchain from Yocto BSP

Follow steps described on standalone operations in i.MX_Linux_User's_Guide.pdf to export toolchain, and install it to /opt directory.

see "4.5.12 How to build U-Boot and Kernel in standalone environment" of the document, please!

[comment]

if you want to get other version of toolchain, use the similar steps, please!

Hope these information is helpful to you.

Have a nice day!

B.R,

weidong

0 Kudos
Reply