[PR libgcj/44341] introduce --with-target-{gmp,mpfr,...}

Paolo Bonzini bonzini@gnu.org
Thu Jan 27 08:49:00 GMT 2011


On 01/25/2011 11:32 PM, Joseph S. Myers wrote:
> What should be done in general is making it explicit (in install.texi)
> that certain options are host options or target options.  Thus:
> --with-gmp* and other library options are purely host options and do not
> relate to the target at all.  --disable-shared is purely a target option
> and not relevant to the host (see PR 47225).  --disable-nls purely relates
> to translations in the host tools and does not affect locale or
> translation support in libstdc++ or other target libraries.

This should also be nicely abstracted in macros so that adding one such 
library to the toplevel doesn't entail anything more than adding a line 
or two and regenerating.

BTW Alex, what are you thinking about with respect to packages that do 
not share the --disable-shared behavior?

Paolo



More information about the Gcc-patches mailing list