AnsweredAssumed Answered

powerpc-fsl-linux-gcc 32-bit compiler missing

Question asked by Chandra Mills on Oct 6, 2016
Latest reply on Oct 12, 2016 by Yiping Wang

We build for the b4860qds-64b using the 1,8 SDK sources ISO and setting the platform using 'bitbake -c populate_sdk fsl-image-full'.  This generates an SDK file .sh. fsl-networking-eglibc-x86_64-ppc64e6500-toolchain-QorIQ-SDK-V1.8.sh 

 

We run the .sh and it generates a file: environment-setup-ppce6500-fsl-linux which has

buntu:/opt/fsl-networking/QorIQ-SDK-V1.8$ cat environment-setup-ppce6500-fsl-linux
export SDKTARGETSYSROOT=/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/ppc64e6500-fsl-linux
export PATH=/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/bin:/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/bin/powerpc-fsl-linux:$PATH
export PKG_CONFIG_SYSROOT_DIR=$SDKTARGETSYSROOT
export PKG_CONFIG_PATH=$SDKTARGETSYSROOT/usr/lib/pkgconfig
export CONFIG_SITE=/opt/fsl-networking/QorIQ-SDK-V1.8/site-config-ppce6500-fsl-linux
export OECORE_NATIVE_SYSROOT="/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux"
export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"
export OECORE_ACLOCAL_OPTS="-I /opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr/share/aclocal"
export PYTHONHOME=/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/x86_64-fslsdk-linux/usr
export PYTHONPATH=/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/ppc64e6500-fsl-linux/usr/lib/python2.7
export CC="powerpc-fsl-linux-gcc -m32 -mhard-float -mcpu=e6500 --sysroot=$SDKTARGETSYSROOT"
export CXX="powerpc-fsl-linux-g++ -m32 -mhard-float -mcpu=e6500 --sysroot=$SDKTARGETSYSROOT"
export CPP="powerpc-fsl-linux-gcc -E -m32 -mhard-float -mcpu=e6500 --sysroot=$SDKTARGETSYSROOT"
export AS="powerpc-fsl-linux-as "
export LD="powerpc-fsl-linux-ld --sysroot=$SDKTARGETSYSROOT"
export GDB=powerpc-fsl-linux-gdb
export STRIP=powerpc-fsl-linux-strip
export RANLIB=powerpc-fsl-linux-ranlib
export OBJCOPY=powerpc-fsl-linux-objcopy
export OBJDUMP=powerpc-fsl-linux-objdump
export AR=powerpc-fsl-linux-ar
export NM=powerpc-fsl-linux-nm
export M4=m4
export TARGET_PREFIX=powerpc-fsl-linux-
export CONFIGURE_FLAGS="--target=powerpc-fsl-linux --host=powerpc-fsl-linux --build=x86_64-linux --with-libtool-sysroot=$SDKTARGETSYSROOT"
export CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
export CPPFLAGS=""
export KCFLAGS="--sysroot=$SDKTARGETSYSROOT"
export OECORE_DISTRO_VERSION="QorIQ-SDK-V1.8"
export OECORE_SDK_VERSION="QorIQ-SDK-V1.8"
export ARCH=powerpc
export CROSS_COMPILE=powerpc-fsl-linux-

 

 

 

The compiler powerpc-fsl-linux-gcc file does not exist in the sysroots/x86-... directory. 

 

How can I fix this?

Outcomes