1. 12 Jan, 2005 1 commit
  2. 11 Jan, 2005 9 commits
  3. 10 Jan, 2005 8 commits
    • krasimir's avatar
      [project @ 2005-01-10 23:48:07 by krasimir] · 3410e077
      krasimir authored
      createDirectoryIfMissing is added to Compat.Directory and is used in ghc-pkg.
      The mingw32_HOST_OS is replaced with mingw32_TARGET_OS. I don't know why but
      prior the last commit the tool was working with mingw32_HOST_OS fine but not
      it isn't. Maybe I miss something. Simon, could you check whether the patch is
    • wolfgang's avatar
      [project @ 2005-01-10 23:00:53 by wolfgang] · 55c60479
      wolfgang authored
      Fix for AIX-like ABIs.
    • panne's avatar
      [project @ 2005-01-10 19:01:27 by panne] · 7a8bd246
      panne authored
      Refactored and cleaned up ld-related tests. Only tested mildly under Linux.
    • wolfgang's avatar
      [project @ 2005-01-10 18:44:38 by wolfgang] · 0aca2f00
      wolfgang authored
      Handle foreign import wrapper properly for MacOS X, powerpc64-linux and AIX.
      Only Mac OS X tested so far.
      Pass information about argument types from DsForeign to createAdjustor encoded
      as a string ('i' for integers, 'f' for floats, 'd' for doubles and 'l' for
      long [64bit] integers).
    • simonmar's avatar
      [project @ 2005-01-10 16:24:16 by simonmar] · 5908f01a
      simonmar authored
      Add *.S to $(C_SRCS).  Seems to do the right thing, including  mkdependC.
    • simonmar's avatar
      [project @ 2005-01-10 13:53:14 by simonmar] · cad81487
      simonmar authored
      Obscure bugfix affecting foreign import "wrapper" with non-word-sized
      argument types (eg. Double) on Windows.  The list of arguments types
      returned by dsFExport was the boxed types, rather than the unboxed
      types, so dsFExportDynamic couldn't get the correct sizes of the
      argument types to the stub function.
      It's more correct now, but not totally correct (see the comment for
      Noticed by: Wolfgang Thaller.
    • simonmar's avatar
      [project @ 2005-01-10 12:34:21 by simonmar] · 038f8bb5
      simonmar authored
      Remove copied definitions for joinFileName, splitFileName:
      System.FilePath is in libghccompat now.
    • simonmar's avatar
      [project @ 2005-01-10 11:45:19 by simonmar] · f13895fc
      simonmar authored
      Work around problems caused by limit on the length of the command line
      in ld, which shows up when building OpenGL on Windows with SplitObjs=YES.
      We now pass the names of the input files to ld via a linker script.
      This is (probably) only supported by GNU ld, so we now have to detect
      GNU ld in the configure script (yawn) and back off to the old method
      if we don't have it.
  4. 09 Jan, 2005 1 commit
    • desrt's avatar
      [project @ 2005-01-09 00:29:05 by desrt] · d27af865
      desrt authored
      Modified the mangler for powerpc64.  This is the last missing piece for supporting
      registerised builds on PPC64.
      The current state of the mangler is temporary.  We're discussing a better way to take
      advantage of the PPC64 ABI's unique features to provide a better way of storing info
      I don't think I've changed anything that affects other platforms.
  5. 08 Jan, 2005 2 commits
    • desrt's avatar
      [project @ 2005-01-08 22:54:28 by desrt] · 1e7063fc
      desrt authored
      Fixed this 6.4 TODO item listed on the wiki:
       PowerPC Linux (32bit): Fix GHCi FFI calls for arguments that are not passed on the stack (ByteCodeFFI).
      Separated the code for Darwin and Linux (for PowerPC only).  Rewrote the Linux version to account for the differences in the ABIs.
      All changes are inside #if powerpc_TARGET_ARCH && linux_TARGET_OS except:
        - import Data.List ( mapAccumL )      (used by my code)
        - small fix to a comment typo in Wolfgang's Darwin code
        - changed 'undefined' to a more meaningful 'error' message if
           mkMarshalCode is unimplemented
      Ran regression tests.  It passes them all except for the ones that are broken because of the 'wrapper' problems currently being addressed.
    • krasimir's avatar
      [project @ 2005-01-08 16:37:09 by krasimir] · 2429d1be
      krasimir authored
      system is replaced with rawSystem. This allows to use path names with embeded
      spaces under Windows. This is the same story as with hsc2hs but ghc-pkg is
      used only with GHC, so the change will not affect other compilers.
      Cabal uses "Program Files" as default installation path and this manifests
      the bug.
  6. 07 Jan, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-01-07 13:06:20 by simonmar] · 2fe2881b
      simonmar authored
      Fix what looks like a cut-n-pasto in retry#: the MAYBE_GC() was
      specifying readTVarzh_fast as the restart point, leading to a crash if
      MAYBE_GC triggered a GC in here.
  7. 06 Jan, 2005 13 commits
  8. 05 Jan, 2005 5 commits