I wonder what is the best solution (multilib or multiconfig) to build a firmware and a gcc cross compiler like the Debian gcc-arm-none-eabi to build plugins for the firmware on an other machine.
I have two processors. A Poky based Linux distributions runs on the first processor and a RTOS firmware on the second processes. It looks like the best solution to build the RTOS firmware is multiconfig and separate machine configurations for each processors. But beside the RTOS firmware I need some headers, libraries and a gcc cross compiler for the RTOS in the Linux image. It is possible to share packages in multiconfig and how could I build a gcc cross compiler for an foreign machine.