[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [PATCH] gcc, disable no-multilib directory if multilib switch given



On Sun, 2010-05-16 at 12:44 +0200, Miro Kropacek wrote:
> > Finally, to protect any library against bad links, we just have to recompile
> > it multiple times with the new installation scheme.
> >
> > At the beginning /usr/lib will contain old libraries, then when all the
> > libraries are rebuilt in the new way, it will be become empty.
> >
> > This is a progressive solution.
> Well, the same progressive solution then would be to recompile every
> library for 000 and 020+ :) This doesn't solve Patrice's problem --
> libraries will be still badly linked with 020+. That's the reason why
> I think Patrice's patch is ok -- if you want default behavior (68000),
> nothing changed. If you want "advanced" stuff (68020), you must take
> care you have all libraries. To me this seems the best solution. And
> if someone still wants to use 000 library with 020+ code... well, he
> can always make a symlink to /usr/lib but on his own risk.

I don't like the m68000 solution either.

In Gentoo if your CFLAGS are -m68020-60 then everything in /usr/lib will
be 020+ optimized and there will be no subdirectories.

Alan.