1. 05 Sep, 2003 1 commit
  2. 04 Sep, 2003 5 commits
    • simonmar's avatar
      [project @ 2003-09-04 13:58:12 by simonmar] · 398ccea3
      simonmar authored
      - Document -e
      
      - Rearrange the documentation on "modes".  I've moved the list of
        modes from the beginning of "Using GHC", to a subsection a little
        later, and the sections describing make-mode and batch-mode are now
        further subsections of this.
      
      - Add missing modes to the list: -M and --mk-dll.
      398ccea3
    • simonmar's avatar
      [project @ 2003-09-04 11:08:46 by simonmar] · e98cf284
      simonmar authored
      Add a new command-line flag -e EXPR, which runs ghc in interactive
      mode and evaluates EXPR only before exiting.
      
      Also, the lexer now ignores lines beginning with "#!".  This is so
      that we can use ghc as a scripting language with Unix-style scripts
      beginning with
      
      #! /usr/local/bin/ghc -e main
      
      (well, it's not quite that simple, but I'll leave the details for the
      more enterprising hackers).
      e98cf284
    • simonmar's avatar
      [project @ 2003-09-04 09:56:16 by simonmar] · d0d9c936
      simonmar authored
      Don't bogusly use HOST instead of BUILD or TARGET in the platform defines.
      d0d9c936
    • simonmar's avatar
      [project @ 2003-09-04 09:55:28 by simonmar] · 2b7c9eee
      simonmar authored
      Flesh out the platform variables, rather than bogusly setting BUILD
      and TARGET to HOST most of the time.
      
      This doesn't give us any better cross-compiling support, but it's a
      step in the right direction.
      
      Also, I added a comment describing the proper meaning of BUILD
      vs. HOST vs. TARGET, and which one to test in various parts of the
      source tree.
      2b7c9eee
    • simonmar's avatar
      [project @ 2003-09-04 09:53:31 by simonmar] · c0d30cb3
      simonmar authored
      Uncomment AC_SUBSTs for many of the platform variables, since I'm
      guessing that this comment doesn't apply any more:
      
      dnl Cannot afford all these SUBSTs (because of braindead seds w/ 99 cmd limits)
      c0d30cb3
  3. 03 Sep, 2003 2 commits
  4. 02 Sep, 2003 3 commits
  5. 01 Sep, 2003 1 commit
  6. 29 Aug, 2003 4 commits
    • panne's avatar
      [project @ 2003-08-29 16:15:59 by panne] · bfc04eaf
      panne authored
      -fno-prune-tydecls is dead, Jim...
      bfc04eaf
    • simonmar's avatar
      [project @ 2003-08-29 16:13:48 by simonmar] · 5c0bddfb
      simonmar authored
      Oops, forgot one file in the x86_64 commit.
      5c0bddfb
    • simonmar's avatar
      [project @ 2003-08-29 16:00:25 by simonmar] · 7dc97354
      simonmar authored
      Initial x86-64 (aka amd64) support.
      
      Unregisterised it works perfectly.  Registerised, I think it's almost
      there, except that I seem to be running into the known codegen bug in
      GCC with register variables (bug #7871 in the gcc bugzilla), which
      means registerised support is basically hosed until the GCC folks
      can get their act together.
      
      We get 8 more registers on amd64, but only 2 more callee-saves
      registers.  The calling convention seems to pass args in registers by
      default, using the previously-callee-saves %rsi and %rdi as two of the
      new arg registers.
      
      I think GHCi should work, since we already have 64-bit ELF support
      thanks to Mat Chapman's work on the IA64 port.  I haven't tried GHCi,
      though.
      
      The native code generator should be a breeze, because it's so similar
      to plain x86.
      7dc97354
    • simonmar's avatar
      [project @ 2003-08-29 12:05:39 by simonmar] · f16020a8
      simonmar authored
      Remove unused references to $T_create_word
      f16020a8
  7. 28 Aug, 2003 3 commits
  8. 27 Aug, 2003 8 commits
  9. 26 Aug, 2003 3 commits
  10. 22 Aug, 2003 6 commits
    • sof's avatar
      [project @ 2003-08-22 23:04:46 by sof] · c3a1e453
      sof authored
      html stylesheet: added comments on what you need to define in order to get one page output
      c3a1e453
    • sof's avatar
      [project @ 2003-08-22 22:38:02 by sof] · 2b57ddc3
      sof authored
      rts_mainEvalIO() ~> rts_mainLazyIO()
      
      Merge to STABLE.
      2b57ddc3
    • sof's avatar
      [project @ 2003-08-22 22:24:12 by sof] · cffcb52b
      sof authored
      setupRtsFlags(): don't overwrite argv[0] with its basename:
         - argv[] may not point to writeable memory
         - System.Environment.getProgName strips off the 'dirname' portion
           anyway.
         - Not possible to get at the untransformed argv[0] from
           Haskell code, should such a need arise.
      
      Uses of prog_argv[0] within the RTS has now been replaced with prog_name,
      which is the basename of prog_argv[0].
      cffcb52b
    • sof's avatar
      [project @ 2003-08-22 16:38:51 by sof] · 3c6b9911
      sof authored
      mkHomeModLocation: basename has to be equal to module name, not just suffix
      3c6b9911
    • panne's avatar
      [project @ 2003-08-22 10:21:46 by panne] · 13ec31c0
      panne authored
      The autoconf magic for the library documentation belongs to
      libraries/, not ghc/.
      13ec31c0
    • panne's avatar
      [project @ 2003-08-22 06:29:42 by panne] · c2ae23c6
      panne authored
      OpenBSD's sh doesn't like the parentheses in "foo='(-1)'" so let's
      drop them. Thanks to Don for pointing this out.
      c2ae23c6
  11. 21 Aug, 2003 1 commit
    • panne's avatar
      [project @ 2003-08-21 20:08:43 by panne] · 20923f94
      panne authored
      Added a new test FP_HTML_COMMENT (better name?) and use it in configure.ac.
      
      As an additional bonus, autoreconf doesn't call aclocal anymore
      because we have an aclocal.m4 now and it obviously doesn't require
      automake stuff. This fixes problems with older (< 1.4-p6) automakes,
      which insist on "configure.in".
      20923f94
  12. 20 Aug, 2003 3 commits