Building GMP for ia64 and alpha OpenVMS

Tristan Gingold gingold at adacore.com
Fri Mar 30 17:08:48 CEST 2012


Hi,

I have been able to cross-compile gmp 4.2 (but last time I tried the patch applies well to gmp 5) for ia64 and alpha OpenVMS, using the following trivial patch:

*** gmp-h.in.orig	Thu Jan 12 14:08:21 2012
--- gmp-h.in	Thu Jan 12 14:09:41 2012
***************
*** 325,331 ****
    || defined (__STDIO__)              /* Apple MPW MrC */       \
    || defined (_MSL_STDIO_H)           /* Metrowerks */          \
    || defined (_STDIO_H_INCLUDED)      /* QNX4 */		\
!   || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */
  #define _GMP_H_HAVE_FILE 1
  #endif
  
--- 325,332 ----
    || defined (__STDIO__)              /* Apple MPW MrC */       \
    || defined (_MSL_STDIO_H)           /* Metrowerks */          \
    || defined (_STDIO_H_INCLUDED)      /* QNX4 */		\
!   || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */             \
!   || defined (__STDIO_LOADED)         /* VMS */
  #define _GMP_H_HAVE_FILE 1
  #endif
  
I hope this patch could be included in the sources.

Thanks,
Tristan.



More information about the gmp-bugs mailing list