This is the mail archive of the gcc-patches@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: [PATCH] Allow custom flags passed to target-lib builds


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


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