1. 15 Jul, 2011 6 commits
    • Ian Lynagh's avatar
      Remove more defaultTargetPlatform uses · 730301c6
      Ian Lynagh authored
      730301c6
    • Ian Lynagh's avatar
      Remove some more defaultTargetPlatform uses · 5c718b15
      Ian Lynagh authored
      5c718b15
    • Sergei Trofimovich's avatar
      An example of failure: · 3b322660
      Sergei Trofimovich authored
      "inplace/bin/ghc-stage1"   -H32m -O    -package-name base-4.4.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.2.0.0 -package integer-gmp-0.3.0.0 -package rts-1.0 -split-objs -package-name base -XHaskell98 -XCPP -O2 -no-user-package-conf -rtsopts     -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/base/./GHC/Int.hs -o libraries/base/dist-install/build/GHC/Int.o
      /usr/lib/gcc/sparc-unknown-linux-gnu/4.5.2/../../../../sparc-unknown-linux-gnu/bin/ld: --relax and -r may not be used together
      collect2: ld returned 1 exit status
      make[1]: *** [libraries/base/dist-install/build/GHC/Int.o] Error 1
      
      Or with '-v' param:
      /usr/bin/gcc -fno-stack-protector -nostdlib -nodefaultlibs -Wl,-r -Wl,--build-id=none -Wl,-x -o libraries/base/dist-install/build/GHC/Int.o /tmp/ghc45126_0/ghc45126_0.ldscript
      /usr/lib/gcc/sparc-unknown-linux-gnu/4.5.2/../../../../sparc-unknown-linux-gnu/bin/ld: --relax and -r may not be used together
      
      On SPARC gcc-4.5.2 has -mrelax in it's default specs, so we explicitly pass --no-relax
      for ld to make sure gcc's default does not affect us.
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      3b322660
    • Ian Lynagh's avatar
      Remove some defaultTargetPlatform's · c4ab399e
      Ian Lynagh authored
      We now pass the correct platform in instead
      c4ab399e
    • Ian Lynagh's avatar
      More work towards cross-compilation · f07af788
      Ian Lynagh authored
      There's now a variant of the Outputable class that knows what
      platform we're targetting:
      
      class PlatformOutputable a where
          pprPlatform :: Platform -> a -> SDoc
          pprPlatformPrec :: Platform -> Rational -> a -> SDoc
      
      and various instances have had to be converted to use that class,
      and we pass Platform around accordingly.
      f07af788
    • dterei's avatar
      Improvements to Safe Haskell userguide. · 58cc5ed2
      dterei authored
      58cc5ed2
  2. 14 Jul, 2011 7 commits
  3. 13 Jul, 2011 3 commits
  4. 12 Jul, 2011 19 commits
  5. 11 Jul, 2011 1 commit
  6. 08 Jul, 2011 4 commits