gmp-4.3.1 bombs 9/9 on Solaris 10 with gcc-4.3.3
Marc Glisse
marc.glisse at normalesup.org
Sat Jun 27 10:27:13 CEST 2009
On Fri, 26 Jun 2009, Edwards, Mark C. wrote:
> I just pulled the current gmp-4.3.1 code, ran "configure
> -prefix=/opt/gnu", then make.
>
> The compiler is the Code Sourcery build of gcc-4.3.3 for Solaris2.8. The
> OS is Solaris 10.
>
> It appears the configure script is picking up 64-bit routines. I would
> prefer 32-bit. After
>
> running configure and compiling, I ran the "make check" as suggested.
> All of the messages
>
> complained about wrong ELF class ELFCLASS32. Any suggestions? This
> build is a prerequisite
>
> for the gfortran compiler.
Hello,
http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA
You can copy-paste your error message in google (will point to old
messages on this list) to find out how your gcc installation is broken and
some ways to work around it if you want 64 bits.
You can also link the directory with the gmp sources in the gcc source
directory (as described in the gcc installation instructions) so that it
gets built automatically at the same time as gcc and hopefully with
acceptable default options (I haven't checked).
Next time, please copy-paste error messages in your emails, it is much
easier to determine what is going on than with a paraphrase.
--
Marc Glisse
More information about the gmp-bugs
mailing list