Re: Yocto standard SDK machine dependent compiler options
Zhenhua Luo
Hi Matt,
Your understanding is right.
Best Regards,
Zhenhua
From: Tsai, Matt <matt.tsai@...>
Sent: Saturday, March 23, 2019 12:56 AM To: Zhenhua Luo <zhenhua.luo@...> Cc: meta-freescale@... Subject: RE: [meta-freescale] Yocto standard SDK machine dependent compiler options
Hi Zhenhua,
Thank you for the answer. So the -m options generated by Yocto SDK below is for e500v2, correct? If not, could you please explain? CC="powerpc-poky-linux-gnuspe-gcc -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=$SDKTARGETSYSROOT"
Thank you,
Matt
From: Zhenhua Luo [mailto:zhenhua.luo@...]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Matt,
The cross-build gcc is shared by different PPC architecture, including e500v2, e500mc, e5500 and e6500, those -m parameters are necessary for cross-compiling of specific core type. The following manual may be helpful to understand of Yocto SDK.
https://www.yoctoproject.org/docs/2.1/sdk-manual/sdk-manual.html
Best Regards,
Zhenhua
From:
meta-freescale-bounces@... <meta-freescale-bounces@...>
On Behalf Of Tsai, Matt
Hi all,
I have built the standard Yocto SDK using the “bitbake <image> -c populate_sdk” command. I have some questions related to the generated toolchain. I wonder if I can get my doubts cleared here.
Here are my hardware/software info: Target platform is Freescale p2020 rdb. Yocto versions used to build the SDK: Poky: tag “sumo-19.0.1” Meta-freescale: sumo branch commit hash: 407c6cf408969445031a492e2d25e0e2749582ea (on Oct. 4, 2018)
Questions:
I list some of the compiler/assembler options below: CC="powerpc-poky-linux-gnuspe-gcc -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=$SDKTARGETSYSROOT" CXX="powerpc-poky-linux-gnuspe-g++ -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=$SDKTARGETSYSROOT" CPP="powerpc-poky-linux-gnuspe-gcc -E -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=$SDKTARGETSYSROOT" AS="powerpc-poky-linux-gnuspe-as " LD="powerpc-poky-linux-gnuspe-ld --sysroot=$SDKTARGETSYSROOT"
If this not the right place for the questions, please kindly point me to the right source.
Thank you very much for the help!
|
|