1. 19 Apr, 2005 1 commit
  2. 15 Apr, 2005 1 commit
  3. 06 Apr, 2005 2 commits
  4. 01 Apr, 2005 1 commit
  5. 30 Mar, 2005 2 commits
  6. 29 Mar, 2005 2 commits
  7. 24 Mar, 2005 1 commit
    • sof's avatar
      [project @ 2005-03-24 18:44:16 by sof] · c0cca2ea
      sof authored
      SRC_HC_OPTS: only add -ignore-package if supported by underlying GHC.
                   (reqd to be able to compile greencard/lib, hdirect/(com)lib with
      	     non-cutting edge GHCen.)
      
      Merge to STABLE.
      c0cca2ea
  8. 22 Mar, 2005 1 commit
  9. 08 Mar, 2005 2 commits
    • wolfgang's avatar
      [project @ 2005-03-08 20:33:21 by wolfgang] · 5c367e13
      wolfgang authored
      Mac OS X: fix_install_name when installing libexecs
      
      MERGE TO STABLE
      5c367e13
    • wolfgang's avatar
      [project @ 2005-03-08 04:45:29 by wolfgang] · f97dcf9f
      wolfgang authored
      Mac OS X:
      Kill HaskellSupport.framework.
      Instead, look for GMP.framework (a framework-version of libgmp), else look
      for a normal -lgmp as usual.
      The other part of HaskellSupport.framework, dlcompat, is no longer needed
      (as of Mac OS X 10.3, it's included in libSystem).
      It's enough to just use the normal configure tests for -ldl.
      
      MERGE TO STABLE
      f97dcf9f
  10. 04 Mar, 2005 1 commit
  11. 03 Mar, 2005 1 commit
  12. 02 Mar, 2005 2 commits
  13. 01 Mar, 2005 1 commit
    • sof's avatar
      [project @ 2005-03-01 19:16:14 by sof] · 70768203
      sof authored
      aclocal.m4:FP_PROG_SORT: locate unix-like sort utility; on success, substituted as SortCmd.
      -configure.ac: use FP_PROG_SORT
      -mk/config.mk.in: added SORT setting..only used by libraries/Makefile
      
      Merge to STABLE
      70768203
  14. 26 Feb, 2005 1 commit
    • panne's avatar
      [project @ 2005-02-26 11:03:13 by panne] · 41b8c26e
      panne authored
      Don't use draft mode when generating FO, otherwise fop might try
      download a watermark when generating PDF/PS. Fixed a comment typo on
      the way.
      41b8c26e
  15. 18 Feb, 2005 1 commit
  16. 17 Feb, 2005 1 commit
    • ross's avatar
      [project @ 2005-02-17 14:25:57 by ross] · cabcda7d
      ross authored
      * set off examples (e.g. as used in the Cabal doc) from the text.
      
      * make minor headers blue too.
      
      * make the green in screens a bit darker for contrast.
      cabcda7d
  17. 10 Feb, 2005 1 commit
  18. 09 Feb, 2005 1 commit
  19. 08 Feb, 2005 1 commit
  20. 07 Feb, 2005 1 commit
    • simonpj's avatar
      [project @ 2005-02-07 12:16:50 by simonpj] · 3ab57e45
      simonpj authored
      -----------------------------------------------------
      	Switch off derivable type class generation by default
      	-----------------------------------------------------
      
      	Merge to STABLE
      
      This commit switches off the generation of the support code for 'Derivable
      Type Classes' by default.  Use -fgenerics to switch it on.
      
      Motivation: seldom used, and there's a nasty blowup in Core types for data
      types that have lots of constructors or lots of fields.
      
      We now put -fgenerics in the GhcLibOpts, so that the libraries have the
      support code, as before.
      3ab57e45
  21. 01 Feb, 2005 1 commit
  22. 28 Jan, 2005 1 commit
  23. 27 Jan, 2005 4 commits
  24. 23 Jan, 2005 2 commits
    • wolfgang's avatar
      [project @ 2005-01-23 18:18:05 by wolfgang] · 3463d1d3
      wolfgang authored
      Darwin / Mac OS X:
      
      For builds with dynamic libraries, fix up dynamic library paths
      ("install names") for binaries. Otherwise, a dynamically-linked stage2 ghc
      would contain the path names of the build directories.
      3463d1d3
    • panne's avatar
      [project @ 2005-01-23 17:05:31 by panne] · fa8246c7
      panne authored
      In the installed package.conf, all includeDirs were empty, so no GHC/package
      headers were found. This commit fixes that (in a hopefully correct way).
      fa8246c7
  25. 20 Jan, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-01-20 14:22:19 by simonmar] · c830ae13
      simonmar authored
      Fill in the haddock-interfaces and haddock-html fields in the
      package.conf files.
      
      To do this I had to make some changes:
      
        - haddock-interfaces requires the value of $(datadir).  We can't
          just plug this in, because $(datadir) might change at install-time
          (eg. a Windows installer can be placed anywhere, as can a Unix
          binary .tar.gz distribution).  The current trick is for the
          compiler to splice in the value of $libdir in package.conf at
          runtime.  So we could extend this mechanism and tell the compiler
          the value of $datadir via a command-line option, but that seems
          ugly.
      
          On Windows, $datadir==$libdir, so we don't need any changes:
          package.conf still uses $libdir, and a Windows installation is
          independent of its absolute location.  Even 'make install' on
          Windows should have this property.
      
          On Unix:
      	- for 'make install' and in-place execution, we just use
                absolute paths in package.conf
      
      	- for a binary dist, we generate a package.conf that refers
      	  to $libdir and $datadir, and splice in the values at
      	  install-time (distrib/Makefile-bin.in).
      
        - Also, I renamed $libdir to $topdir to more closely reflect its
          actual meaning.  This is somewhat malicious in that it will flush
          out all those clients using $libdir when they really shouldn't
          be :-)
      c830ae13
  26. 14 Jan, 2005 1 commit
    • wolfgang's avatar
      [project @ 2005-01-14 08:01:26 by wolfgang] · 4f457f34
      wolfgang authored
      Dynamic Linking, Part 2:
      
      Hack the Makefiles to build dynamic libraries.
      This allows you to actually use dynamic libraries to greatly reduce binary
      sizes on Darwin/PowerPC and on powerpc64-linux (for now).
      
      To use this, add the following to your build.mk
      
      SplitObjs=NO
      GhcBuildDylibs=YES
      GhcStage2HcOpts=-dynamic
      GhcLibHcOpts+=-fPIC -dynamic
      GhcRtsHcOpts+=-fPIC -dynamic
      GHC_CC_OPTS+=-fPIC
      
      (You can leave out the last three lines on powerpc64-linux).
      
      Then, to compile a program using dynamic libraries, pass the -dynamic option to GHC.
      To make GHCi use the dynamic libraries instead of .o files, just delete the HS*.o files.
      
      The dynamic library files are named libHSfoo_dyn.dylib or libHSfoo_dyn.so.
      
      Note that the dynamic and static libraries are build from the same .o files,
      but we really want to build the static libraries with SplitObjs and without
      -fPIC -dynamic to achieve better code size and performance.
      
      ghc/compiler/ghci/Linker.lhs:
          When looking for a library, look for HSfoo.o first (as before),
          then look for libHSfoo_dyn.[so/dylib] before looking for
          libHSfoo.[so/dylib].
      
      ghc/compiler/main/DriverPipeline.hs:
          Main.dll_o and PrelMain.dll_o are dead, at least for now.
      
      ghc/compiler/main/Packages.lhs:
          When -dynamic is specified, add "_dyn" to all libraries specified in
          hs-libraries (not to the extra-libs).
      
      ghc/lib/compat/Makefile:
          Never build libghccompat as a dynamic lib.
      
      mk/package.mk:
          if GhcBuildDylibs is set to YES, build dynamic libraries.
      
      mk/target.mk:
          When installing .dylibs (Darwin only), update the install_name to point
          to the final location.
          (Somebody please read Apple's documentation on what install_names are,
          and then comment on whether this is a useful feature or whether it should
          be done the "normal" unix way).
      4f457f34
  27. 13 Jan, 2005 1 commit
  28. 11 Jan, 2005 3 commits
  29. 10 Jan, 2005 1 commit