[PATCH] Allow custom flags passed to target-lib builds

Ian Lance Taylor ian@airs.com
Tue Nov 29 05:29:00 GMT 2005


Mark Mitchell <mark@codesourcery.com> writes:

> My tentative plan was to use -print-multi-lib syntax as a configure
> argument; something like:
> 
>   configure --with-multilibs=".; foo;@mfoo; foo/bar;@mfoo@mbar"
> 
> Then, with no --with-multilibs, we'd use the same logic we have now.

The results of that may be somewhat confusing if the user can not also
somehow specify MULTILIB_DEFAULTS.

Also, specifying the multilib string directly is a very sharp knife.
It's easy to get it subtly wrong, particularly when you need to use
negative options.  It might be somewhat safer if the user could
instead specify equivalents to MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_MATCHES, MULTILIB_EXCEPTIONS, MULTILIB_DEFAULTS, etc., etc.

Ian



More information about the Gcc-patches mailing list