bug-gmp
[Top][All Lists]
Advanced

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

Re: gmp-4.1.2 compilation problem (full rpt)


From: Kevin Ryde
Subject: Re: gmp-4.1.2 compilation problem (full rpt)
Date: Sat, 24 May 2003 06:51:07 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

"Law Chong Fatt" <address@hidden> writes:
>
> I'm on solaris2.7. My gmp was compiled using cc on solaris2.7. My
> gcc that I'm running example.c is however a binary built for
> solaris2.6. Is this a major problem? Shld I build gcc on my current
> system?

It's probably ok.

> [2. config.guess --- application/octet-stream; config.guess]...

No, the output from running ./config.guess.  The manual makes this
clear I think.

> configure:1413: Decided:
> ABI=64
> CC=cc
> CFLAGS=-fast -fns=no -fsimple=1 -xarch=v9

You have built gmp in 64-bit mode using cc.  This is the default where
possible because it gives better speed.  Your version of gcc doesn't
support that mode.  I think later versions do, but not 2.95.

You should either compile your program in the same 64-bit mode using
cc.

Or you should build gmp in 32-bit mode by adding ABI=32 to configure.
You can use either cc or gcc for this, gcc is the default and will
give better code.

See "ABI and ISA" in the manual for more info.

-- 
All followups to address@hidden please.




reply via email to

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