[Top][All Lists]

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

Re: libtool and gcc -m*

From: Bob Friesenhahn
Subject: Re: libtool and gcc -m*
Date: Fri, 9 Aug 2002 17:01:18 -0500 (CDT)

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.

Bob Friesenhahn

reply via email to

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