This is the mail archive of the gcc@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: Multilibs - how to avoid building the default one twice


On Mon, Feb 23, 2004 at 02:56:00PM -0800, Zack Weinberg wrote:
> Phil Edwards <phil@codesourcery.com> writes:
> 
> > On Mon, Feb 23, 2004 at 01:32:47PM -0800, Zack Weinberg wrote:
> >> 
> >> The ia64-hpux target builds 32- and 64-bit multilibs.  These
> >> correspond to the -milp32 and -mlp64 command line switches, and so
> >> there is
> >> 
> >> MULTILIB_OPTIONS = milp32/mlp64
> >
> > Maybe this should just be
> >
> >     MULTILIB_OPTIONS = mlp64
> >
> > instead?
> 
> That might work, yeah.  There is the additional detail that I think
> the default library isn't supposed to be installed into $prefix/lib
> but $prefix/lib/hpux32, but if so we are already getting this wrong.

You may be able to accomplish this with MULTILIB_OS_DIRNAMES.  I don't
think you'll have much luck getting this to take for the first multilib
without rewriting multilib support from scratch; see
-mabi-fake-defaults in mips/ for an example of what I mean.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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