[ARC] Add multilib support for linux targets

Programming / Compilers / GCC - claziss [138bc75d-0d04-0410-961f-82ee72b054a4] - 21 May 2018 09:56 EDT

We used to build baremetal (AKA Elf32) multilibbed toolchains for years now but never made that for Linux targets since there were problems with uClibc n multilib setup. Now with help of Crosstool-NG it is finally possible to create uClibc-based multilibbed toolchains and so we add relevant CPUs for multilib in case of configuration for "arc*-*-linux*".

This will be essentially useful for glibc-based multilibbbed toolchains in the future.

gcc/ 2018-05-16 Alexey Brodkin

- config.gcc: Add arc/t-multilib-linux to tmake_file for arc*-*-linux*.
- config/arc/t-multilib-linux: Specify MULTILIB_OPTIONS and MULTILIB_DIRNAMES

0eacfbcb2bf [ARC] Add multilib support for linux targets
gcc/ChangeLog | 7 +++++++
gcc/config.gcc | 2 +-
gcc/config/arc/t-multilib-linux | 25 +++++++++++++++++++++++++
3 files changed, 33 insertions(+), 1 deletion(-)

Upstream: gcc.gnu.org

  • Share