[ Aaaargl, 2nd try: The ancient mailer at Glasgow didn't like my
   MIME-attachment.  >:-( ]

"Manuel M. T. Chakravarty" wrote:
> I encountered a problem with existentially quantified type variables
> [...]  I couldn't check whether the problem persists in GHC 4.02,

Alas, it's even in yesterday's ghc-4.03 from CVS.

> as I am still in the middle of compiling it. It seems as if - at
> least for Linux - the heap size is too small for many of the library
> modules.  Sven, did you have the same problem?  (Or can it
> be a problem that I compiled the compiler proper with 3.02?)

I'm always compiling ghc with the latest installed version, e.g.
Friday's ghc is compiled with Thursday's. Additionally, hsc is compiled
with -O, so I can't comment on non-optimised builds. My RPM patch file
is appended. But on Linux you can always use the pre-built RPMS on

   ftp://ftp.informatik.uni-muenchen.de/pub/local/pms/

BTW, I'd like to get some feedback from RedHat users: Byron Hale
reported some problems with the Hugs RPM (the dynamic linker tells
someting about an undefined symbol __register_frame_info).
Success/Failure stories are highly welcome.

Cheers,
   Sven

-----------------------------------------------------------------------
diff -uNr fptools.orig/ghc/driver/ghc.lprl fptools/ghc/driver/ghc.lprl
--- fptools.orig/ghc/driver/ghc.lprl    Wed Feb 17 11:48:06 1999
+++ fptools/ghc/driver/ghc.lprl Tue Feb 23 13:40:19 1999
@@ -245,6 +245,12 @@

 \begin{code}
 $CcRegd                = $GHC_OPT_HILEV_ASM;
+
+# SUP: SuSE 6.0 uses an egcs/gcc-mix, but ghc is currently incompatible with
+# egcs (the binaries produce segmentation faults occasionaly), so we force gcc.
+$gcc2723dir = "/usr/lib/gcc-lib/i486-linux/2.7.2.3/";
+$CcRegd .= " -B" . $gcc2723dir if (-x $gcc2723dir . "cc1");
+
 @CcBoth_flags  = ('-S','-Wimplicit');   # flags for *any* C compilation
 @CcInjects     = ();

diff -uNr fptools.orig/mk/build.mk fptools/mk/build.mk
--- fptools.orig/mk/build.mk    Thu Jan  1 01:00:00 1970
+++ fptools/mk/build.mk Wed Feb 17 15:46:09 1999
@@ -0,0 +1,3 @@
+WithGhcHc = ghc
+SRC_HC_OPTS += -optCrts-M52M -O
+rename/ParseIface_HC_OPTS += -optCrts-M77M
-----------------------------------------------------------------------
-- 
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

Reply via email to