[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmp on solaris 2.6/sparc
From: |
Kevin Ryde |
Subject: |
Re: gmp on solaris 2.6/sparc |
Date: |
06 Oct 2000 09:44:15 +1000 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 |
Dan Stromberg <address@hidden> writes:
>
> I'm trying to compile gmp on solaris 2.6/sparc.
>
> I get the following errors:
>
> m4 -DPIC -DOPERATION_mul_1 mul_1.asm >tmp-mul_1.s
> /dcs/bin/bash ../libtool --mode=compile cc -c -DHAVE_CONFIG_H -I. -I. -I..
> -I.. -DOPERATION_mul_1 -g tmp-mul_1.s -o mul_1.lo
> rm -f .libs/mul_1.lo
> cc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mul_1 -g tmp-mul_1.s
> -KPIC -DPIC -o mul_1.o
> /opt/SUNWspro/bin/../SC5.0/bin/fbe: "tmp-mul_1.s", line 50: error: cannot use
> v8plus instructions in a non-v8plus target binary
> /opt/SUNWspro/bin/../SC5.0/bin/fbe: "tmp-mul_1.s", line 57: error: cannot use
> v8plus instructions in a non-v8plus target binary
> /opt/SUNWspro/bin/../SC5.0/bin/fbe: "tmp-mul_1.s", line 62: error: cannot use
> v8plus instructions in a non-v8plus target binary
> /opt/SUNWspro/bin/../SC5.0/bin/fbe: "tmp-mul_1.s", line 68: error: cannot use
> v8plus instructions in a non-v8plus target binary
> /opt/SUNWspro/bin/../SC5.0/bin/fbe: "tmp-mul_1.s", line 71: error: cannot use
> v8plus instructions in a non-v8plus target binary
>
> I'm compiling on an ultra 5, but I hope to run this on sun4c and up.
Do you have $CC set as an environment variable, or perhaps through
config.site?
If you set CC, you must also set CFLAGS or you get the default with is
only "-g" and doesn't have the necessary assembler flags. (See the
build options section of the manual.) The easiest way is to unset CC
and let gmp decide.
If that doesn't help you'll need to provide more information, see bug
reporting in the manual.