[yocto] Yocto Jetro / ls1046 : SDK with toolchains for both 32 and 64 bits

ARVIS Vincent vincent.arvis at transport.alstom.com
Fri Feb 24 06:30:15 PST 2017


Dear All

I am looking for help around the way to request yocto generating a SDK with toolchains for ARM processor.
These toolchains shall provide the capability to compile executables in 64 bits (aarch64) and 32 bits (armv7a architecture).

For X86, this seems very simple : In the local.conf, adding this is enough :
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "i586"

But for ARM (LS1046 from NXP), it is not as evident : in the local.conf, we add :
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"

This correctly add 32 bits libraries both in the image and in the SDK.
But the SDK only provides the gcc for 64 bits, not for 32 bits.
Only 64 bits environment file is provided.

Does someone have some experience on this?

Thanks in advance and best regards

--
Vincent ARVIS


________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.



More information about the yocto mailing list