Compile errors on Solaris 10/SPARC

Ido Dubrawsky idubraws at
Sun Nov 27 22:11:09 CET 2005

On Wed, Nov 23, 2005 at 08:46:24AM +0100, Torbjorn Granlund wrote:
> I see nothing wrung there.
> I'd like to ask you to compile a C file to assembly for me, using
> the same flags as in a GMP build, Most preferably, compile a
> mpn/generic file, e.g., add_n.c.
> Also, I'l like to know what assembly the m4 command for add_n.asm
> generates.  Please cd to the build mpn directory, remove add_n.o,
> and type "make add_n.o".  Then copy the m4 command generating
> tmp-add_n.s, and send me the output.
Here's the output for "make add_n.o":

[idubraws at elrond mpn]
5 $ rm add_n.o
[idubraws at elrond mpn]
6 $ make add_n.o
m4 -DOPERATION_add_n `test -f add_n.asm || echo './'`add_n.asm >tmp-add_n.s
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..  -DOPERATION_`echo add_n | sed 's/_$//'`     -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 tmp-add_n.s -o add_n.o
rm -f tmp-add_n.s

Ido Dubrawsky, CISSP                    E-mail: idubraws at
Network Security Architect		Web:
Silicon Security, Inc.
Silver Spring, MD. 20902
(301) 593-3609 (office)
(301) 593-3610 (fax)

More information about the gmp-bugs mailing list