Kito Cheng 于2024年9月5日周四 16:36写道:
>
> LGTM, thanks for catching this, but commit log seems not right?
> should it be -print-multi-directory or -print-multi-os-directory
> rather than --print-multilib-os-dir?
Yes. It is a typo.
I used `--print-multilib-os-dir`, and yes, as you said, `-print-multi-d
LGTM, thanks for catching this, but commit log seems not right?
should it be -print-multi-directory or -print-multi-os-directory
rather than --print-multilib-os-dir?
(I guess should be -print-multi-directory per your output)
Anyway, you can go ahead and push that after the fix:)
On Thu, Sep 5, 2
From: YunQiang Su
When use --print-multilib-os-dir, gcc outputs different value
with full -march option and the base one only.
$ ./gcc/xgcc --print-multilib-os-dir -mabi=lp64d -march=rv64gc
lib64/lp64d
$ ./gcc/xgcc --print-multilib-os-dir -mabi=lp64d -march=rv64gc_zba
.
The reason is that in m