patch applied (ghc-7.0/ghc): Fix #4829 (build does not respect --with-gcc option)

Ian Lynagh igloo at earth.li
Thu Jan 6 00:48:49 CET 2011


Tue Dec 21 05:32:33 PST 2010  gwright at antiope.com
  * Fix #4829 (build does not respect --with-gcc option)
  
  This patch fixes what seems to be the last problem with the --with-gcc
  option.  On OS X, we need to pass the path to gcc to dtrace as the
  preprocessor.  (Internally, dtrace on OS X sets the default preprocessor
  to /usr/bin/gcc.)  ATM, dtrace is only supported on OS X, so we don't
  need any conditionalization.  If dtrace is ported to other platforms,
  we might need to change this. However, usage on other platforms will
  probably be similar to OS X, since many of Apple's changes are to
  use the gnu toolchain instead of the Sun toolchain.
    

    M ./rts/ghc.mk -1 +6

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc-7.0/ghc;a=darcs_commitdiff;h=20101221133233-870a6-22dac655be9eb862eca13136e67fdf586279f22b.gz



More information about the Cvs-ghc mailing list