Permalink
Commits on Apr 24, 2011
  1. Derive some Typeable instances

    igfoo committed Apr 24, 2011
    We were using the Typeable.hs macros, but for no good reason as
    far as I can tell.
Commits on Apr 23, 2011
  1. Fix warnings in DynFlags

    igfoo committed Apr 23, 2011
    I also made the -ffloat-all-lams flag not take an argument, as it just
    ignored it.
  2. Rename "GCC command" to "C compiler command"

    igfoo committed Apr 23, 2011
    Makes it consistent with the existing "C compiler flags"
    field.
  3. Get CC_STAGE0 from the bootstrapping compiler

    igfoo committed Apr 23, 2011
    Rather than using the compiler that configure detects, we use
    the "GCC command" field from the --info output of the bootstrapping
    compiler (provided it is >= 7.1).
  4. Remove unused Makefile.local

    igfoo committed Apr 23, 2011
  5. Remove unused Makefile.inc

    igfoo committed Apr 23, 2011
  6. Remove an nhc-specific makefile

    igfoo committed Apr 23, 2011
  7. Make stage-specific CC variables

    igfoo committed Apr 23, 2011
    This allows different gcc's to be used when building different stages,
    which we need to do when cross-compiling.
Commits on Apr 22, 2011
  1. Remove UseGcc makefile var

    igfoo committed Apr 22, 2011
    It couldn't be overridden, and was defined as YES.
  2. Remove redundant tests for whether we're in a GHC tree

    igfoo committed Apr 22, 2011
    We always are, nowadays.
  3. Revert "Output ELF .size directives for functions"

    igfoo committed Apr 22, 2011
    This reverts commit b1f453e.
    It caused dynHelloWorld(dyn) to fail.
  4. Move gcc's and perl's location to the settings file

    igfoo committed Apr 22, 2011
    They were hardcoded in Config.hs
  5. Output ELF .size directives for functions

    tibbe authored and igfoo committed Apr 19, 2011
    This allows tools like Linux's perf events to display symbol names for
    CMM primops.
  6. Move the opt* fields from DynFlags into the Settings type

    igfoo committed Apr 22, 2011
    The pgm* fields are already in Settings
  7. Tweak build rules for libffi

    igfoo committed Apr 22, 2011
    We were doing
        echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'
    but the only x86 value HOSTPLATFORM can have is i386.
    
    We now tell libffi its build platform again, but we now tell it it's
    $(BUILDPLATFORM) rather than $(HOSTPLATFORM).
  8. no need to set --build when configuring libffi

    Mark Lentczner authored and igfoo committed Apr 14, 2011
    The value --build was set to broke cross-compilier builds, and isn't
    needed for regular builds.
  9. fix documentation of FP_ARG_WITH_PATH_GNU_PROG

    Mark Lentczner authored and igfoo committed Apr 14, 2011
Commits on Apr 21, 2011
  1. Initialise Settings before DynFlags

    igfoo committed Apr 21, 2011
    Stops us having to temporarily have a panic in the DynFlags.
    We still need a panic in the DynFlags used for the top-level
    error handler, though.
  2. Fix typo in comment

    igfoo committed Apr 21, 2011
Commits on Apr 20, 2011
  1. do not use sed for version date processing but rather cut and tr

    mkilian authored and igfoo committed Apr 18, 2011
    Based on an idea from Karel Gardas, who had troubles with the original
    sed version (which didn't work with /usr/bin/sed on Solaris).