Building GMP for ia64 and alpha OpenVMS

Torbjorn Granlund tg at gmplib.org
Mon Apr 2 16:43:46 CEST 2012


Tristan Gingold <gingold at adacore.com> writes:

  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, pushed!  

-- 
Torbjörn


More information about the gmp-bugs mailing list