Difficulty: intermediate
Estimated Time: 5-10 minutes

In this scenario, you will learn about the 64-bit/32-bit multilib support in Wind River LTS-18, including standard implementation plus Wind River Linux enhancements.

The original use case can be found here: Multilib in WRLinux 10.18

Congratulations. You have completed the Wind River scenario on the foundations of creating Katacoda content. Continue looking at examples on katacoda.com/scenario-examples

TEST Multilib in WRLinux 10.18

Step 1 of 5

Step 1 - Multilib support

Multilib is enabled by default in WrLinux

Multilib is enabled by default in WRLinux 10.18 for 64-bit bsps, including qemux86-64, qemuarm64, qemumips64 and other real bsps such as intel-x86-64 and intel-socfpga-64.

For 64-bit bsps, it sets proper multilib configure in bsp specified configure files(.inc or .conf). Take qemux86-64 as a example, it enables multilib in wrlinux/wrlinux-distro/conf/distro/include/wrlinux-bsp-qemux86-64.inc.

  MULTILIBS ?= "multilib:lib32" 
  DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32"

You can see this here:

cat layers/wrlinux/wrlinux-distro/conf/distro/include/wrlinux-bsp-qemux86-64.inc

Disabling Multilib Support

If you want to disable multilib's for a specific project, reset MULTILIBS in your conf/local.conf.

  echo 'MULTILIBS = ""' >> conf/local.conf

If you want to diable multilib's for all* bsps in a common configure file wrlinux/wrlinux-distro/conf/distro/wrlinux-common.inc.

  # Multilib configuration
  require conf/multilib.conf