After Simon's last patch, compilation on HPs proceeded a little bit
further, but not too much:
...
MBlock.c:61: #error Dont know where to get memory from on this architecture
Quick fix/guess/hack:
-------------------------------------------------------------------
*** fptools/ghc/rts/MBlock.c.~1~ Mon Oct 5 18:34:58 1998
--- fptools/ghc/rts/MBlock.c Wed Dec 2 14:52:25 1998
***************
*** 57,65 ****
--- 57,73 ----
/* guess */
#define ASK_FOR_MEM_AT 0x50000000
+ #elif hpux_TARGET_OS
+ /* SUP: an even wilder guess! But does this address really matter? */
+ #define ASK_FOR_MEM_AT 0x50000000
+
#else
#error Dont know where to get memory from on this architecture
/* ToDo: memory locations on other architectures */
+ #endif
+
+ #ifndef MAP_ANON
+ #define MAP_ANON MAP_ANONYMOUS
#endif
void *
-------------------------------------------------------------------
Hmmm, it seems as if the "address for mmap is irrelevant" (Borg? :-)
as long as MAP_FIXED is not used, at least modulo alignment issues.
With the patch above, compilation is on its way, so stay tuned...
To be continued... :-]
Cheers,
Sven
--
Sven Panne Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen Oettingenstr. 67
mailto:[EMAIL PROTECTED] D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne