AnsweredAssumed Answered

How to config bitbake to build sdk toolchain gcc g++ version 4.8?

Question asked by Gideon Tsang on Oct 23, 2017
Latest reply on Oct 24, 2017 by gusarambula

Hi,

 

I can use the command bitbake fsl-image-qt5 -c populate_sdk to compile the sdk toolchain, and I've installed and verified the sdk is working successfully.  However I came across to a project which require g++ compiler version 4.8, and I checked that the gcc and g++ toolchain in yocto is 5.3.  How do I configure my bitbake to build a sdk of gcc/g++ toolchain of older version 4.8?

 

gideon@T420:/opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/bin$ arm-poky-linux-gnueabi-g++ --version
arm-poky-linux-gnueabi-g++ (GCC) 5.3.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.

thanks,

Gideon

Outcomes