This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updating multilib support after a compiler is built


"Jon Beniston" <jon@beniston.com> writes:

> Is it possible to update the multilib combinations supported by GCC after it
> has been built?

I believe that all the multilib information can be read from the specs
file, so, technically, yes.


> %rename multilib_matches old_multilib_matches
> *multilib_matches:
> mcpu=xyz mcpu=xyz;%(old_multilib_matches);
>
> with:
>
> multilib spec 'mcpu=xyz mcpu=xyz;%(old_multilib_matches);' is invalid
>
> So it looks like GCC isn't performing substitutions for the %s in
> multilib_matches specs. (The same seems to be true for  the other multilib
> specs).

Right, the multilib specs aren't written in the spec mini-language, so
transformations like %() are not applied.  You will have to write out
the complete multilib description.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]