[Top][All Lists]

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

Re: libtool does not preserve -xarch=v9

From: libtool
Subject: Re: libtool does not preserve -xarch=v9
Date: Fri, 21 Sep 2001 00:46:50 -0500
User-agent: Mutt/1.2.5i

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.

Anyway, *without* having LDFLAGS="-xarch=v9", I built HEAD and
ran nm on libltdl/.libs/
  $ nm libltdl/.libs/       ELF 64-bit MSB dynamic lib SPARCV9 Version ...

albert chin (address@hidden)

reply via email to

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