> From: Bob Friesenhahn <[EMAIL PROTECTED]>
>
> On Fri, 21 Sep 2001 [EMAIL PROTECTED] wrote:
>
> > On Thu, Sep 20, 2001 at 09:38:29PM -0500, Bob Friesenhahn wrote:
> > > 64-bit compilation under Solaris & Sun's compiler requires that the
> > > argument '-xarch=v9' be provided when compiling C++ objects.
> > > Unfortunately libtool (1.4a (1.641.2.259 2001/06/04 19:32:47)) is
> > > discarding this argument (which was passed via LDFLAGS to configure)
> > > so objects are built as 32-bit objects instead. Is a fix for this
> > > available?
> >
> > Does Sun ld(1) even support -xarch? I just checked the manpage on a
> > Solaris 8/SPARC 64-bit system and didn't see mention of it. I also
> > tried linking a library using ld(1) with -xarch=v9 as an argument and
> > got an error.
>
> The way Sun's build environment supports 64-bit compilation, it is
> only necessary to build all objects using -xarch=v9. The linker is
> responsible for selecting the correct mode based on the mode of the
> objects. All linked objects must be built for the same model or
> linking will fail.
>
Ok, so it sounds like your first problem is that you are trying to
pass a compiler flag to the linker.
Dan
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool