Re: failure to compile on mips-sgi6.5
Malcolm Wallace <[email protected]> Fri, 12 Dec 2003 10:50:52 +0000
| Newsgroups | gmane.comp.lang.haskell.nhc.user |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
"William S." <[email protected]> writes: > ... in /usr/people/wstan/nhc98-1.16/src/runtime/Kernel > /usr/include/stdint.h:5:2: #error This header file is to be used only for > c99 mode compilations I suggest you alter the files src/runtime/Kernel/mark.h include/HsFFI.h Where there is a conditional inclusion of <stdint.h>, change the condition to make the IRIX version include <inttypes.h> instead. For instance # if defined(__sun__) || defined(__FreeBSD__) || defined(__OpenBSD__) # include <inttypes.h> # else # include <stdint.h> # endif could become something like # if defined(__sun__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sgi) # include <inttypes.h> # else # include <stdint.h> # endif If this still does not solve the problem, you could try using the Cygwin-like branch of the conditional instead. Regards, Malcolm