1. 17 Feb, 2002 1 commit
    • panne's avatar
      [project @ 2002-02-17 14:03:10 by panne] · bebf95f8
      panne authored
      Automagically determine the flags for compiling/linking OpenGL
      programs at configuration time, and stuff the relevant info into
      OpenGL's package configuration file. This still mixes up compilation
      time vs. installation time, but it's much better than hardcoded flags.
      bebf95f8
  2. 13 Feb, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-02-13 11:51:40 by simonmar] · aa0db183
      simonmar authored
      - Detect presence of a POSIX-compatible regex interface in configure,
        and omit Text.Regex.Posix (and hence Text.Regex) if it is missing.
        ToDo: pull in a suitably-licensed implementation of POSIX regex
        to be used in the event that the system doesn't supply one.
      
      - Rename old HaveRegex to HaveGNURegex.
      aa0db183
  3. 12 Feb, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-02-12 15:17:13 by simonmar] · 2cc5b907
      simonmar authored
      Switch over to the new hierarchical libraries
      ---------------------------------------------
      
      This commit reorganises our libraries to use the new hierarchical
      module namespace extension.
      
      The basic story is this:
      
         - fptools/libraries contains the new hierarchical libraries.
           Everything in here is "clean", i.e. most deprecated stuff has
           been removed.
      
      	- fptools/libraries/base is the new base package
      	  (replacing "std") and contains roughly what was previously
      	  in std, lang, and concurrent, minus deprecated stuff.
      	  Things that are *not allowed* in libraries/base include:
      		Addr, ForeignObj, ByteArray, MutableByteArray,
      		_casm_, _ccall_, ``'', PrimIO
      
      	  For ByteArrays and MutableByteArrays we use UArray and
      	  STUArray/IOUArray respectively now.
      
      	  Modules previously called PrelFoo are now under
      	  fptools/libraries/GHC.  eg. PrelBase is now GHC.Base.
      
      	- fptools/libraries/haskell98 provides the Haskell 98 std.
      	  libraries (Char, IO, Numeric etc.) as a package.  This
      	  package is enabled by default.
      
      	- fptools/libraries/network is a rearranged version of
      	  the existing net package (the old package net is still
      	  available; see below).
      
      	- Other packages will migrate to fptools/libraries in
      	  due course.
      
           NB. you need to checkout fptools/libraries as well as
           fptools/hslibs now.  The nightly build scripts will need to be
           tweaked.
      
         - fptools/hslibs still contains (almost) the same stuff as before.
           Where libraries have moved into the new hierarchy, the hslibs
           version contains a "stub" that just re-exports the new version.
           The idea is that code will gradually migrate from fptools/hslibs
           into fptools/libraries as it gets cleaned up, and in a version or
           two we can remove the old packages altogether.
      
         - I've taken the opportunity to make some changes to the build
           system, ripping out the old hslibs Makefile stuff from
           mk/target.mk; the new package building Makefile code is in
           mk/package.mk (auto-included from mk/target.mk).
      
           The main improvement is that packages now register themselves at
           make boot time using ghc-pkg, and the monolithic package.conf
           in ghc/driver is gone.
      
           I've updated the standard packages but haven't tested win32,
           graphics, xlib, object-io, or OpenGL yet.  The Makefiles in
           these packages may need some further tweaks, and they'll need
           pkg.conf.in files added.
      
         - Unfortunately all this rearrangement meant I had to bump the
           interface-file version and create a bunch of .hi-boot-6 files :-(
      2cc5b907
  4. 04 Feb, 2002 1 commit
  5. 31 Jan, 2002 1 commit
    • sof's avatar
      [project @ 2002-01-31 10:42:27 by sof] · fed216d7
      sof authored
      - new option --enable-threaded-rts, which turns on
        RTS support for better interop with native threads.
      - check for pthread.h
      - new config.mk variable, GhcRtsThreaded (={YES,NO})
      fed216d7
  6. 27 Nov, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-11-27 12:29:44 by simonmar] · f302d61c
      simonmar authored
      The notes at the top of this file were wrong, and totally confusing.
      As far as I can tell, they never matched reality.
      
      This commit up the comments, and adds a warning about editing this
      file directly (a common mistake with fptools newbies).
      f302d61c
  7. 19 Nov, 2001 1 commit
    • sof's avatar
      [project @ 2001-11-19 18:47:43 by sof] · 5b4f91d4
      sof authored
      - change the interpretation of FPTOOLS_TOP_ABS, it is now the UNIXy path.
        For Win32, it is of the form <drive>:<path> where '/' is the directory
        separator. Prior to this commit, the directory separator was '\'.
      - for the (only) place we need to have a platform-native representation
        of FPTOOLS_TOP_ABS, use FPTOOLS_TOP_ABS_PLATFORM.
      5b4f91d4
  8. 09 Nov, 2001 2 commits
    • sof's avatar
      [project @ 2001-11-09 21:25:56 by sof] · 124690e9
      sof authored
      GhcCanonVersion: leave out GhcPatchLevel, causes problems when
      the GhcPatchLevel isn't a patchlevel but a date.
      124690e9
    • sof's avatar
      [project @ 2001-11-09 18:17:48 by sof] · 579b46fe
      sof authored
      * Moved CANON_HC_VERSION out of ghc/compiler/Makefile and into mk/config.mk.in
        (and renamed it as GhcCanonVersion).
      * Have ghc/driver/Makefile use it; cheaper and more robust than the version
        testing it was already doing.
      579b46fe
  9. 07 Nov, 2001 1 commit
  10. 06 Nov, 2001 1 commit
  11. 29 Oct, 2001 1 commit
    • rrt's avatar
      [project @ 2001-10-29 12:00:06 by rrt] · f41ac4fd
      rrt authored
      Set libdir to prefix on Windows only. Windows install paths are
      currently different from those used under Unix, and it's probably best
      to change the layout of the InstallShield to match Unix in the long
      term. For now, just Make It Work.
      f41ac4fd
  12. 24 Oct, 2001 1 commit
  13. 23 Oct, 2001 2 commits
  14. 13 Oct, 2001 1 commit
  15. 24 Sep, 2001 1 commit
  16. 22 Sep, 2001 1 commit
  17. 27 Aug, 2001 1 commit
  18. 16 Aug, 2001 2 commits
  19. 15 Aug, 2001 1 commit
  20. 05 Aug, 2001 1 commit
    • ken's avatar
      [project @ 2001-08-05 00:25:41 by ken] · a6e4c7f7
      ken authored
      Steps towards getting GHCi working on alpha-dec-osf3 --
      Clean up ghci/ByteCodeItbls.lhs, and add code for generating
      a jump instruction on alpha.
      a6e4c7f7
  21. 25 Jul, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-07-25 10:10:25 by simonmar] · 7d34d68c
      simonmar authored
      - Move FptoolsHcOpts out of the hslibs section of this file (which was
        *exactly* the wrong place for it).
      
      - Clarify the meaning of FptoolsHcOpts and GhcHcOpts.
      
      NOTE: $(FptoolsHcOpts) gets added to every Haskell compilation for
      Haskell *programs* (not libraries), including GHC itself.  By default,
      it contains only -O.  To remove the -O, you need to override
      FptoolsHcOpts in build.mk, not GhcHcOpts.
      
      GhcHcOpts is still there, and contains options to be added when
      compiling GHC only.
      7d34d68c
  22. 24 Jul, 2001 1 commit
    • ken's avatar
      [project @ 2001-07-24 04:39:31 by ken] · af27ab5c
      ken authored
      Make the Time module thread-safe by calling the reentrant functions
      gmtime_r and localtime_r instead of gmtime and localtime wherever
      they are available.
      
      (This is necessary to make Time work at all on our Alpha machine --
      perhaps GHC tickles the reentrancy of the C library or something?)
      af27ab5c
  23. 23 Jul, 2001 2 commits
    • ken's avatar
      [project @ 2001-07-23 22:52:33 by ken] · e99733ff
      ken authored
      Improved how we build library archives:
      
      On Digital UNIX (or where otherwise available), use the "Z" option to
      compress archives as we build them.
      
      On Digital UNIX 5 (or where otherwise available), use the "-input" option,
      which reads from a specified file the list of objects to archive.  This is
      significantly faster than piping the list of objects to xargs when the
      number of objects to archive is large.
      e99733ff
    • ken's avatar
      [project @ 2001-07-23 22:33:52 by ken] · 27d13cb6
      ken authored
      Added "--enable-hc-boot-unregisterised" option to configure,
      for bootstrapping from unregisterised HC files.
      27d13cb6
  24. 13 Jul, 2001 1 commit
  25. 11 Jul, 2001 1 commit
    • rrt's avatar
      [project @ 2001-07-11 13:24:24 by rrt] · ad428ac6
      rrt authored
      Replace GhcLibToolsHcOpts with FptoolsHcOpts, and make it apply to all
      programs in fptools, not just the hslibs tools. Now there's a way of
      controlling compiler flags to all programs in the tree, so
      
      a) by default all utilities should be optimised (before this was only done
      for one or two like hsc2hs)
      
      b) if you're doing development work, you can get everything built quicker by
      setting FptoolsHcOpts appropriately
      ad428ac6
  26. 05 Jul, 2001 1 commit
  27. 30 Jun, 2001 1 commit
    • qrczak's avatar
      [project @ 2001-06-30 22:57:20 by qrczak] · 70828f20
      qrczak authored
      Don't add leading space to libdir (was harmful for drivers).
      
      Don't add $(ProjectNameShort)-$(ProjectVersion) to libdir if
      $(ProjectNameShort) is empty; I hope it's correct.
      70828f20
  28. 28 Jun, 2001 2 commits
  29. 26 Jun, 2001 2 commits
    • sof's avatar
      [project @ 2001-06-26 23:12:19 by sof] · d2f7d10f
      sof authored
      Test whether $(CC) supports -mwin32 + have configure script set SRC_CC_OPTS
      d2f7d10f
    • reid's avatar
      [project @ 2001-06-26 08:13:04 by reid] · 39c84a7d
      reid authored
      NOTE: new configure.in - remember to autoconf and reconfig
      
      I'm moving X.gc and Xlib.gc from hslibs/graphics/lib/x11 to
      hslibs/xlib and integrating them into the hslibs maketree.  This lib
      now lives at the same place in the hierarchy as win32 - probably not
      perfect for the new library story but good enough for the old hslibs I
      think.
      
      I'm not converting them from GreenCard to hsc2hs but I think that
      would be a good medium term goal.  I'd like to do it myself because
      I'd like to try using hsc2hs but I can't imagine when I'll get the
      time so if someone feels like doing it, go right ahead.  (The HGL
      (hslibs/graphics/lib/x11) is probably the only code that depends on
      the Xlib interface - so mild changes to the Xlib API would be fairly
      easy to fix up.)
      
      It all seems to build and compile (not sure about linking yet) but,
      for the life of me, I can't figure out what part of the makefile calls
      ghc-pkg -a so that isn't quite working yet.  (I _think_ the makefile
      does this - but could be wrong.)
      
      If someone could either point me at the relevant part of the makefile
      docs or just fix it for me, I could move onto getting the graphics lib
      integrated into the hslibs maketree - which would leave me with just
      the Hugs part of the HGL distribution to fix before the next Hugs
      release.  (If I was a good Haggis, I'd beat up on Hugs' ffi too - but
      I'm a very overworked Haggis at the moment so I'm not sure I'll get
      that far.)
      39c84a7d
  30. 30 May, 2001 1 commit
  31. 28 May, 2001 1 commit
  32. 27 May, 2001 1 commit
    • sof's avatar
      [project @ 2001-05-27 23:53:47 by sof] · 13c670c3
      sof authored
      New configure script option, --enable-minimal-unix-deps, a Win32-specific
      option which lets you build a compiler that doesn't depend on cygwin tools
      to run. Well, you still need tools such as gcc and perl in the backend, but
      these don't have to be cygwin ports.
      13c670c3
  33. 07 May, 2001 1 commit
  34. 27 Apr, 2001 1 commit