* included in the distribution.
*
* $RCSfile: hugs.c,v $
- * $Revision: 1.31 $
- * $Date: 2000/01/05 18:05:33 $
+ * $Revision: 1.32 $
+ * $Date: 2000/01/05 19:10:21 $
* ------------------------------------------------------------------------*/
#include <setjmp.h>
Void everybody(what) /* send command `what' to each component of*/
Int what; { /* system to respond as appropriate ... */
-fprintf ( stderr, "EVERYBODY %d\n", what );
+#if 0
+ fprintf ( stderr, "EVERYBODY %d\n", what );
+#endif
machdep(what); /* The order of calling each component is */
storage(what); /* important for the PREPREL command */
substitution(what);
* Hugs version 1.4, December 1997
*
* $RCSfile: interface.c,v $
- * $Revision: 1.17 $
- * $Date: 2000/01/05 18:05:33 $
+ * $Revision: 1.18 $
+ * $Date: 2000/01/05 19:10:21 $
* ------------------------------------------------------------------------*/
#include "prelude.h"
List ifaces = NIL; /* :: List I_INTERFACE */
List iface_sizes = NIL; /* :: List Int */
List iface_onames = NIL; /* :: List Text */
-
+#if 0
fprintf ( stderr,
"processInterfaces: %d interfaces to process\n",
length(ifaces_outstanding) );
-
+#endif
/* unzip3 ifaces_outstanding into ifaces, iface_sizes, iface_onames */
for (xs = ifaces_outstanding; nonNull(xs); xs=tl(xs)) {
/* Have we reached a fixed point? */
i = length(all_known_types);
+#if 0
printf ( "\n============= %d known types =============\n", i );
+#endif
if (num_known_types == i) break;
num_known_types = i;
/* Have we reached a fixed point? */
i = length(all_known_types);
+#if 0
printf ( "\n------------- %d known types -------------\n", i );
+#endif
if (num_known_types == i) break;
num_known_types = i;
}
}
}
+#if 0
fprintf(stderr, "\n=========================================================\n");
fprintf(stderr, "=========================================================\n");
+#endif
/* Traverse again the decl lists of the modules, this time
calling the finishGHC* functions. But don't process
}
}
}
-
+#if 0
fprintf(stderr, "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n");
fprintf(stderr, "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n");
+#endif
/* Build the module(m).export lists for each module, by running
through the export lists in the iface. Also, do the implicit
'import Prelude' thing. And finally, do the object code
Sym(gmtime) \
+/* AJG Hack */
+#undef EXTERN_SYMS
+#define EXTERN_SYMS
+
/* entirely bogus claims about types of these symbols */
#define Sym(vvv) extern int vvv;
#define SymX(vvv) /* nothing */