RE: GHC-6.4.1 on FreeBSD-amd64 still not ported
On 15 October 2005 23:10, Wilhelm B. Kloke wrote:
ghc/includes touch
ghc/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h,mkDerivedC onstants.c}
touch
ghc/includes/{mkDerivedConstantsHdr,mkDerivedConstants.o,mkGHCConstants, mkGHCConstants.o}
touch ghc/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h} chflags uchg ghc/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h} (cd glafp-utils && gmake boot && gmake) (cd ghc && gmake boot && gmake) (cd libraries && gmake boot && gmake) (cd ghc/compiler && gmake boot stage=2 && gmake stage=2) (cd ghc/lib/compat && gmake clean; rm .depend; gmake boot UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'; gmake -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files') (cd ghc/rts && gmake -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files') (cd ghc/utils && gmake clean; gmake -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files') gmake hc-file-bundle Project=Ghc
Thanks very much for this, I'll update the docs.
Don't forget to delete Linker.c (for ghci). The stage on teh host system where the process fails jsut now is
$MAKE -C libraries boot all because Fake happy is not happy!
You mean on the target system? Can you give more details?
But ghc-inplace seems to work pretty good now on amd64.
Great! Cheers, Simon
Simon Marlow <simonmar@microsoft.com> schrieb:
On 15 October 2005 23:10, Wilhelm B. Kloke wrote:
Don't forget to delete Linker.c (for ghci). The stage on teh host system where the process fails jsut now is
$MAKE -C libraries boot all because Fake happy is not happy!
You mean on the target system? Can you give more details?
Yes. Sorry for any confusion. The happy error messages was an easy one, because I have a working 32bit happy on the system.
But ghc-inplace seems to work pretty good now on amd64.
I reached the end of hc-build successfully. Now there is a new problem. I tried (as root) make install at this point. This fails with error messages related to missing stage2 subdirectories. So I tried gmake stage=2 boot This fails with messages ... cmm/CmmLex.hs:28: unterminated #if cmm/CmmLex.hs:20: unterminated #if <<ghc: 55123864 bytes, 6 GCs, 160600/160600 avg/max bytes residency (1 samples), 16M in use, 0.00 INIT (0.00 elapsed), 0.12 MUT (0.41 elapsed), 0.01 GC (0.05 elapsed) :ghc>> gmake: *** [depend] Fehler 1 This error is due to indented preprocessor lines #else #endif I removed the indentation of these 2 lines. Then this file compiled, but there are more of them, the next being parser/Lexer.hs Is there a recommended way to handle this? -- Dipl.-Math. Wilhelm Bernhard Kloke Institut fuer Arbeitsphysiologie an der Universitaet Dortmund Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257
participants (2)
-
Simon Marlow -
Wilhelm B. Kloke