Re: [PATCH 2/2] RISC-V: Implement TARGET_COMPUTE_MULTILIB_OS

2025-02-25 Thread Jin Ma
On Tue, 25 Feb 2025 08:23:27 -0800 (PST), Palmer Dabbelt wrote: > On Fri, 14 Feb 2025 05:04:20 PST (-0800), ji...@linux.alibaba.com wrote: > > According to the definition in gcc/config/riscv/t-linux, after obtaining > > the reused multilib_dir result using TARGET_COMPUTE_MULTILIB, we should > > set

Re: [PATCH 2/2] RISC-V: Implement TARGET_COMPUTE_MULTILIB_OS

2025-02-25 Thread Palmer Dabbelt
On Fri, 14 Feb 2025 05:04:20 PST (-0800), ji...@linux.alibaba.com wrote: > According to the definition in gcc/config/riscv/t-linux, after obtaining > the reused multilib_dir result using TARGET_COMPUTE_MULTILIB, we should > set multilib_os_dir to its parent directory. > > For example, when building

[PATCH 2/2] RISC-V: Implement TARGET_COMPUTE_MULTILIB_OS

2025-02-14 Thread Jin Ma
According to the definition in gcc/config/riscv/t-linux, after obtaining the reused multilib_dir result using TARGET_COMPUTE_MULTILIB, we should set multilib_os_dir to its parent directory. For example, when building GCC with the options "--enable-multilib --with-arch=rv64gc --with-abi=lp64d" and