[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Assembler problem
From: |
Kevin Ryde |
Subject: |
Re: Assembler problem |
Date: |
30 Jan 2002 08:15:34 +1000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 |
Klaus-Dieter Schmidt <address@hidden> writes:
>
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
> -DOPERATION_add_n -funroll-loops -fomit-frame-pointer -O3 -DSYSV -DSVR4
> tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o
> /usr/ccs/bin/as.bak: "tmp-add_n.s", line 60: error: cannot use sparc
> ...
>
> CC=gcc
> CFLAGS=$'-O3 -funroll-loops -fomit-frame-pointer '
Are you trying for a 64-bit build of GMP? If so I think you'll need
"-m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9" in the flags.
If you want a 32-bit build (which will be slower), you can use
"./configure ABI=32", in which case the flags you've got probably work
(or might just need "-Wa,-xarch=v8plus").
See "ABI and ISA" in the manual for a bit more info.
- Assembler problem, Klaus-Dieter Schmidt, 2002/01/28
- Re: Assembler problem,
Kevin Ryde <=