[RFC] New feature to reuse one multilib among different targets
Joseph S. Myers
joseph@codesourcery.com
Thu Nov 8 21:11:00 GMT 2012
On Thu, 8 Nov 2012, Terry Guo wrote:
> To convert such statements to data structure used by multilib_raw, I
> refactor codes in genmultilib into two functions combo_to_dir and
The "function" keyword for creating shell functions is not POSIX, and I
don't know if we ensure that $SHELL is a shell supporting functions.
(It's documented that CONFIG_SHELL may need to be set to a POSIX shell if
/bin/sh isn't sufficient, but does that feed through to the value of SHELL
used to run this script?)
> 2012-11-08 Terry Guo <terry.guo@arm.com>
>
> * genmultilib (combo_to_dir): New function.
> (options_output): New function.
> (MULTILIB_REUSE): New argument.
> * Makefile.in (s-mlib): Add a new argument MULTILIB_REUSE.
> * gcc.c (multilib_reuse): New spec.
> (set_multilib_dir): Use multilib_reuse.
Documentation changes need mentioning in ChangeLog entries.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list