building gmp 5.0.1 on HPUx with HP Acc Fail

Alain Corchia alain.corchia at cobol-it.com
Fri May 14 11:24:26 CEST 2010


Building of GMP 5.0.1 on hpUX with HP aCC (not gnuc) in 64 bits mode fail

 

/bin/sh ../libtool --tag=CC   --mode=compile cc -AC99 -DHAVE_CONFIG_H -I.
-I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo subcnd_n | sed 's/_$//'`
+O3 -c -o subcnd_n.lo subcnd_n.c

"redc_2.c", line 88: warning #2223-D: function "__asm__" declared implicitly

        umul2low (q[1], q[0], mip[1], mip[0], up[1], up[0]);

        ^

 

"redc_2.c", line 88: error #2018: expected a ")"

        umul2low (q[1], q[0], mip[1], mip[0], up[1], up[0]);

        ^

 

1 error detected in the compilation of "redc_2.c".

 

In module redc_2.c , Please replace line 44 :

#if defined (__ia64) && W_TYPE_SIZE == 64

 

By

 

#if defined(__GNUC__) && defined (__ia64) && W_TYPE_SIZE == 64

 

 

Regards

Alain Corchia 
COBOL-IT Technical Center 
T: +32 2 612 41 72
F: +32 2 522 09 30
M: +32 475 70 67 17  <mailto:Alain.corchia at cobol-it.com> 
Alain.corchia at cobol-it.com 



More information about the gmp-bugs mailing list