[Top][All Lists]

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

Re: libtool and gcc -m*

From: Albert Chin
Subject: Re: libtool and gcc -m*
Date: Fri, 9 Aug 2002 18:35:57 -0500
User-agent: Mutt/1.2.5i

On Fri, Aug 09, 2002 at 05:01:18PM -0500, Bob Friesenhahn wrote:
> On Fri, 9 Aug 2002, Albert Chin wrote:
> > On Fri, Aug 09, 2002 at 03:00:28PM -0500, Bob Friesenhahn wrote:
> > > I now have a simple fix that allows -m64 to be passed through libtool
> > > to the compiler to create 64-bit shared libraries under Solaris.
> > > However, I am wondering if perhaps libtool should pass all gcc -m*
> > > options for all targets since these options may influence which
> > > libraries are used, or which startup objects are used.  It seems wrong
> > > of libtool to make assumptions about this.
> >
> > How about libtool passing through *any* option it doesn't recognize.
> > Actually, I thought it already did this but I guess I'm wrong.
> It wouldn't have done this in the past because it used to invoke the
> linker directly.  Now it links via the compiler so it could pass
> options through to the link stage.

So can you change your patch to do this? That way we're not
susceptible to similar problems in the future.

albert chin (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]