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/libltdl.so.3.1.0:
  $ nm libltdl/.libs/libltdl.so.3.1.0
  libltdl.so.3.1.0:       ELF 64-bit MSB dynamic lib SPARCV9 Version ...

-- 
albert chin ([EMAIL PROTECTED])

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to