Re: Multilib Hierarchy

2020-10-13 Thread CHIGOT, CLEMENT via Gcc
On Tue, Oct 13, 2020 at 4:01 PM David Edelson via Gcc wrote: > On Tue, Oct 13, 2020 at 4:09 AM CHIGOT, CLEMENT via Gcc > wrote: > > > > Hi everyone, > > > > Since no one answered, I assume that MULTILIB_REUSE was indeed not the > > solution. > > Thus, I've implemented a solution using a new tar

Re: Multilib Hierarchy

2020-10-13 Thread David Edelsohn via Gcc
On Tue, Oct 13, 2020 at 4:09 AM CHIGOT, CLEMENT via Gcc wrote: > > Hi everyone, > > Since no one answered, I assume that MULTILIB_REUSE was indeed not the > solution. > Thus, I've implemented a solution using a new target macro MULTILIB_FALLBACK. > It allows any target to return a new multilib su

Re: Multilib Hierarchy

2020-10-13 Thread CHIGOT, CLEMENT via Gcc
Resent with the patch expanded correctly (I guess, it wasn't because of UTF-8 encoding...).  Hi everyone, Since noone answered, I assume that MULTILIB_REUSE was indeed not the solution. Thus, I've implemented a solution using a new target macro MULTILIB_FALLBACK. It allows any target to return

Re: Multilib Hierarchy

2020-10-13 Thread CHIGOT, CLEMENT via Gcc
Hi everyone, Since noone answered, I assume that MULTILIB_REUSE was indeed not the solution. Thus, I've implemented a solution using a new target macro MULTILIB_FALLBACK. It allows any target to return a new multilib suffix based on the current one being used by the algorithm. This solution is m

Multilib Hierarchy

2020-10-05 Thread CHIGOT, CLEMENT via Gcc
to reuse an existing multilib than to fall back to default multilib when there is no corresponding multilib. This can be done by adding reuse rules to MULTILIB_REUSE.". But it's not changing the search path as excepted. Thus, I'm wondering if there is a way to create a multilib hi