[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems installing gmp on solaris
From: |
Kevin Ryde |
Subject: |
Re: Problems installing gmp on solaris |
Date: |
Sat, 15 Feb 2003 08:37:41 +1000 |
User-agent: |
Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu) |
Sriram Raghuraman <address@hidden> writes:
>
> OS version: 5.8
> Hardware: SUNW,Ultra-4
This is with the sunpro cc is it? We've had joy on solaris 7, but I'm
not sure we've tried solaris 8.
> ld: fatal: file .libs/assert.o: wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to
> .libs/libgmp.so.3.3.2
The command produced by libtool should be something like
/usr/ccs/bin/ld -G -h libgmp.so.3 -o .libs/libgmp.so.3.3.0
.libs/assert.o ... -lc
I think ld is supposed to go into 64-bit mode when it sees the first
object is 64-bits. Is that still the case? Does the ld man page say
anything about this?
If you just want to get something running you might like to configure
with --disable-shared to use only the static library.
--
All followups to address@hidden please.