This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Updating multilib support after a compiler is built
- From: Ian Lance Taylor <iant at google dot com>
- To: "Jon Beniston" <jon at beniston dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 18 May 2010 10:48:48 -0700
- Subject: Re: Updating multilib support after a compiler is built
- References: <001601caf6af$c597f3a0$50c7dae0$@beniston.com>
"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