RE: Compiling ghc 4.08
> I get the following compile error: > > (My configuration is Linux kernel 2.4.0-test1, gcc 2.91.66 and > ghc 4.06 installed) I suggest upgrading your gcc; we use 2.95.2 here without any problems. Alternatively, a workaround for the short term is this patch to fptools/ghc/driver/ghc-asm.lprl: *** ghc-asm.lprl 2000/06/29 13:18:09 1.44.2.1 --- ghc-asm.lprl 2000/07/11 08:41:38 *** *** 711,716 --- 711,717 $e =~ s/^\tret\n//; $e =~ s/^\tpopl \%edi\n//; $e =~ s/^\tpopl \%esi\n//; + $e =~ s/^\tpopl \%edx\n//; $e =~ s/^\tpopl \%ecx\n//; $e =~ s/^\taddl \$\d+,\%esp\n//; $e =~ s/^\tsubl \$-\d+,\%esp\n//; Cheers, Simon
Re: "Glob" functionality in GHC/Haskell
Mon, 10 Jul 2000 19:11:35 -0400, Alexander Williams <[EMAIL PROTECTED]> pisze: > /tmp/ghc10834_stb.h:2: parse error before `Examples_d6q9' > /tmp/ghc10834_stb.h:2: warning: type defaults to `int' in declaration of >`Examples_d6q9' > /tmp/ghc10834_stb.h:2: warning: data definition has no type or storage class ghc-4.08 has some bugs (with newtypes in foreign export) that have been fixed in the development version (4.07 which is 4.09 now). I've installed 4.08, http://qrczak.ids.net.pl/qforeign.tar.gz now has a workaround and should work. -- __("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/ \__/GCS/M d- s+:-- a23 C+++$ UL++>$ P+++ L++>$ E- ^^W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t QRCZAK5? X- R tv-- b+>++ DI D- G+ e> h! r--%>++ y-