This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Allow custom flags passed to target-lib builds
Daniel Jacobowitz wrote:
> IMO, we should find a way to move multilib configuration outside of
> gcc/, so that the multilibs the compiler is configured for and the
> multilibs libraries are built for can be controlled separately. This
> isn't the first time I've wanted that. It's a bit of a pain, however.
I've been planning to work on that some spare Saturday, but I've not yet
gotten to it.
Right now, to control the set of multilibs for some embedded target
foo-elf, you have to modify the GCC sources; clearly, the builder of GCC
ought to be able to request the set of multilibs.
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.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304