I am using powerpc-fsl-linux-gnuspe toolchain
What cflags and ldflags are required to compile an application for p2020
Hello raghav kumar,
CC="powerpc-fsl-linux-gnuspe-gcc -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=$SDKTARGETSYSROOT"
LD="powerpc-fsl-linux-gnuspe-ld --sysroot=$SDKTARGETSYSROOT"
CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------